conworlds
annotate src/vr/mathutil.h @ 18:e4257df067a1
oh yeah, now the tracking is solid. Wasn't rendering the correct part of the texture before.
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 26 Aug 2014 12:59:15 +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_ */ |