moving functionality into the avatar class, and drawing hands
[laserbrain_demo] / src / vrinput.h
1 #ifndef VRINPUT_H_
2 #define VRINPUT_H_
3
4 #include <gmath/gmath.h>
5 #include <goatvr.h>
6 #include "avatar.h"
7
8 struct VRHand {
9         bool valid;
10         Vec3 pos;
11         Quat rot;
12         Mat4 xform;     /* combination of the above */
13 };
14
15 extern VRHand vrhand[2];
16
17 bool init_vrhands();
18 void destroy_vrhands();
19
20 void update_vrhands(const Avatar *avatar);
21 void draw_vrhands();
22
23 #endif  /* VRINPUT_H_ */