conworlds

view src/vr/mathutil.h @ 13:283cdfa7dda2

added a crapload of code from goat3dgfx
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 24 Aug 2014 09:41:24 +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_ */