libgoatvr

view src/mathutil.h @ 19:437fe32ac633

ops... wasn't handling the stereo eye separation correctly. also fixed a bug in vr_libovr.c causing an assertion inside LibOVR when ovrHmd_GetEyePose was called as a result of calls to view_rotation or view_translation outside of vr_begin/vr_end
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 04 Oct 2014 03:39:14 +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_ */