conworlds

view src/vr/mathutil.h @ 12:778ed91cb7fd

fullscreen to rift now works in extended mode with freeglut
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 23 Aug 2014 12:03:29 +0300
parents
children 7a2041ddb7e7
line source
1 #ifndef MATHUTIL_H_
2 #define MATHUTIL_H_
4 void rotation_matrix(const float *quat, float *matrix);
5 void translation_matrix(const float *vec, float *matrix);
7 void mult_matrix(float *dest, const float *m1, const float *m2);
9 void transpose_matrix(float *matrix);
11 void print_matrix(const float *matrix);
13 #endif /* MATHUTIL_H_ */