conworlds

view src/vr/mathutil.h @ 21:2da585428507

added both glut and sdl2 versions just for fun...
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 27 Aug 2014 04:16:22 +0300
parents 778ed91cb7fd
children
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_ */