deepstone

view src/vmath.h @ 17:1e9f0b3616fa

fixed the matrix multiplication order
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 30 Nov 2011 00:04:16 +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_ */