nuclear@15: #ifndef VMATH_H_ nuclear@15: #define VMATH_H_ nuclear@15: nuclear@21: #include nuclear@21: nuclear@21: #ifndef M_PI nuclear@21: #define M_PI 3.1415926536 nuclear@21: #endif nuclear@21: nuclear@15: typedef struct { nuclear@15: float x, y, z, w; nuclear@15: } vec4_t; nuclear@15: nuclear@15: typedef struct { nuclear@15: float x, y, z; nuclear@15: } vec3_t; nuclear@15: nuclear@15: typedef struct { nuclear@15: float x, y; nuclear@15: } vec2_t; nuclear@15: nuclear@15: nuclear@15: #endif /* VMATH_H_ */