vrfileman

view src/user.h @ 2:282da6123fd4

lalalala
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 01 Feb 2015 12:51:10 +0200
parents
children 2cbf85690e03
line source
1 #ifndef USER_H_
2 #define USER_H_
4 #include <vmath/vmath.h>
6 struct PosRot {
7 Vector3 pos;
8 Quaternion rot;
10 void move(float dfwd, float dright, float dup);
11 void rotate(float dhoriz, float dvert);
13 void calc_matrix(Matrix4x4 *res) const;
14 void calc_inv_matrix(Matrix4x4 *res) const;
15 };
17 class User {
18 public:
19 PosRot posrot;
20 };
22 #endif // USER_H_