conworlds
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/vr/mathutil.h Sat Aug 23 12:03:29 2014 +0300 1.3 @@ -0,0 +1,13 @@ 1.4 +#ifndef MATHUTIL_H_ 1.5 +#define MATHUTIL_H_ 1.6 + 1.7 +void rotation_matrix(const float *quat, float *matrix); 1.8 +void translation_matrix(const float *vec, float *matrix); 1.9 + 1.10 +void mult_matrix(float *dest, const float *m1, const float *m2); 1.11 + 1.12 +void transpose_matrix(float *matrix); 1.13 + 1.14 +void print_matrix(const float *matrix); 1.15 + 1.16 +#endif /* MATHUTIL_H_ */ 1.17 \ No newline at end of file