libgoatvr

diff src/mathutil.h @ 0:ded3d0a74e19

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 29 Aug 2014 03:45:25 +0300
parents
children 3d9ec6fe97d7
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/mathutil.h	Fri Aug 29 03:45:25 2014 +0300
     1.3 @@ -0,0 +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 +
    1.10 +void mult_matrix(float *dest, const float *m1, const float *m2);
    1.11 +
    1.12 +void transpose_matrix(float *matrix);
    1.13 +
    1.14 +void print_matrix(const float *matrix);
    1.15 +
    1.16 +#endif	/* MATHUTIL_H_ */