libgoatvr

view src/mathutil.h @ 8:3d9ec6fe97d7

- added distortion mesh generation for the OpenHMD module (unfinished) - changed internal implementation function naming to use the vrimp_ prefix - added an opengl helper function to load extension entry points
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 20 Sep 2014 13:22:53 +0300
parents ded3d0a74e19
children
line source
1 #ifndef MATHUTIL_H_
2 #define MATHUTIL_H_
4 void vrimp_rotation_matrix(const float *quat, float *matrix);
5 void vrimp_translation_matrix(const float *vec, float *matrix);
7 void vrimp_mult_matrix(float *dest, const float *m1, const float *m2);
9 void vrimp_transpose_matrix(float *matrix);
11 void vrimp_print_matrix(const float *matrix);
13 #endif /* MATHUTIL_H_ */