libgoatvr
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef MATHUTIL_H_ |
nuclear@0 | 2 #define MATHUTIL_H_ |
nuclear@0 | 3 |
nuclear@8 | 4 void vrimp_rotation_matrix(const float *quat, float *matrix); |
nuclear@8 | 5 void vrimp_translation_matrix(const float *vec, float *matrix); |
nuclear@0 | 6 |
nuclear@8 | 7 void vrimp_mult_matrix(float *dest, const float *m1, const float *m2); |
nuclear@0 | 8 |
nuclear@8 | 9 void vrimp_transpose_matrix(float *matrix); |
nuclear@0 | 10 |
nuclear@8 | 11 void vrimp_print_matrix(const float *matrix); |
nuclear@0 | 12 |
nuclear@0 | 13 #endif /* MATHUTIL_H_ */ |