conworlds
annotate src/vr/mathutil.h @ 20:782ff06817fb
merged ...
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 26 Aug 2014 18:42:53 +0300 |
parents | 778ed91cb7fd |
children |
rev | line source |
---|---|
nuclear@16 | 1 #ifndef MATHUTIL_H_ |
nuclear@16 | 2 #define MATHUTIL_H_ |
nuclear@16 | 3 |
nuclear@16 | 4 void rotation_matrix(const float *quat, float *matrix); |
nuclear@16 | 5 void translation_matrix(const float *vec, float *matrix); |
nuclear@16 | 6 |
nuclear@16 | 7 void mult_matrix(float *dest, const float *m1, const float *m2); |
nuclear@16 | 8 |
nuclear@16 | 9 void transpose_matrix(float *matrix); |
nuclear@16 | 10 |
nuclear@16 | 11 void print_matrix(const float *matrix); |
nuclear@16 | 12 |
nuclear@16 | 13 #endif /* MATHUTIL_H_ */ |