need to untangle the vrhands mess
[laserbrain_demo] / src / vrinput.h
1 #ifndef VRINPUT_H_
2 #define VRINPUT_H_
3
4 #include <gmath/gmath.h>
5 #include <goatvr.h>
6
7 struct VRHand {
8         bool valid;
9         Vec3 pos;
10         Quat rot;
11         Mat4 xform;     /* combination of the above */
12 };
13
14 extern VRHand vrhand[2];
15
16 bool init_vrhands();
17 void destroy_vrhands();
18
19 void update_vrhands();
20 void draw_vrhands();
21
22 #endif  /* VRINPUT_H_ */