deepstone

view src/vmath.h @ 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
children 00d84ab1ef26
line source
1 #ifndef VMATH_H_
2 #define VMATH_H_
4 typedef struct {
5 float x, y, z, w;
6 } vec4_t;
8 typedef struct {
9 float x, y, z;
10 } vec3_t;
12 typedef struct {
13 float x, y;
14 } vec2_t;
17 #endif /* VMATH_H_ */