conworlds
annotate 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 |
rev | line source |
---|---|
nuclear@12 | 1 #ifndef MATHUTIL_H_ |
nuclear@12 | 2 #define MATHUTIL_H_ |
nuclear@12 | 3 |
nuclear@12 | 4 void rotation_matrix(const float *quat, float *matrix); |
nuclear@12 | 5 void translation_matrix(const float *vec, float *matrix); |
nuclear@12 | 6 |
nuclear@12 | 7 void mult_matrix(float *dest, const float *m1, const float *m2); |
nuclear@12 | 8 |
nuclear@12 | 9 void transpose_matrix(float *matrix); |
nuclear@12 | 10 |
nuclear@12 | 11 void print_matrix(const float *matrix); |
nuclear@12 | 12 |
nuclear@12 | 13 #endif /* MATHUTIL_H_ */ |