conworlds
view 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 |
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_ */