dos3d
changeset 15:4a0e9ab12ad0
separated vec2/vec3/vec4 in a different header file
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 29 Nov 2011 07:23:12 +0200 |
parents | be61704c4cc8 |
children | cb676ff89e69 |
files | src/vmath.h |
diffstat | 1 files changed, 17 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/vmath.h Tue Nov 29 07:23:12 2011 +0200 1.3 @@ -0,0 +1,17 @@ 1.4 +#ifndef VMATH_H_ 1.5 +#define VMATH_H_ 1.6 + 1.7 +typedef struct { 1.8 + float x, y, z, w; 1.9 +} vec4_t; 1.10 + 1.11 +typedef struct { 1.12 + float x, y, z; 1.13 +} vec3_t; 1.14 + 1.15 +typedef struct { 1.16 + float x, y; 1.17 +} vec2_t; 1.18 + 1.19 + 1.20 +#endif /* VMATH_H_ */