libgoatvr
diff 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 diff
1.1 --- a/src/mathutil.h Fri Sep 19 15:16:51 2014 +0300 1.2 +++ b/src/mathutil.h Sat Sep 20 13:22:53 2014 +0300 1.3 @@ -1,13 +1,13 @@ 1.4 #ifndef MATHUTIL_H_ 1.5 #define MATHUTIL_H_ 1.6 1.7 -void rotation_matrix(const float *quat, float *matrix); 1.8 -void translation_matrix(const float *vec, float *matrix); 1.9 +void vrimp_rotation_matrix(const float *quat, float *matrix); 1.10 +void vrimp_translation_matrix(const float *vec, float *matrix); 1.11 1.12 -void mult_matrix(float *dest, const float *m1, const float *m2); 1.13 +void vrimp_mult_matrix(float *dest, const float *m1, const float *m2); 1.14 1.15 -void transpose_matrix(float *matrix); 1.16 +void vrimp_transpose_matrix(float *matrix); 1.17 1.18 -void print_matrix(const float *matrix); 1.19 +void vrimp_print_matrix(const float *matrix); 1.20 1.21 #endif /* MATHUTIL_H_ */