moving functionality into the avatar class, and drawing hands
[laserbrain_demo] / src / vrinput.h
index 1ab89a1..67b2640 100644 (file)
@@ -3,13 +3,13 @@
 
 #include <gmath/gmath.h>
 #include <goatvr.h>
+#include "avatar.h"
 
 struct VRHand {
        bool valid;
        Vec3 pos;
        Quat rot;
        Mat4 xform;     /* combination of the above */
-       goatvr_source *src;
 };
 
 extern VRHand vrhand[2];
@@ -17,7 +17,7 @@ extern VRHand vrhand[2];
 bool init_vrhands();
 void destroy_vrhands();
 
-void update_vrhands();
+void update_vrhands(const Avatar *avatar);
 void draw_vrhands();
 
 #endif /* VRINPUT_H_ */