projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added script to fetch dependencies
[laserbrain_demo]
/
src
/
vrinput.h
diff --git
a/src/vrinput.h
b/src/vrinput.h
index
1ab89a1
..
67b2640
100644
(file)
--- a/
src/vrinput.h
+++ b/
src/vrinput.h
@@
-3,13
+3,13
@@
#include <gmath/gmath.h>
#include <goatvr.h>
#include <gmath/gmath.h>
#include <goatvr.h>
+#include "avatar.h"
struct VRHand {
bool valid;
Vec3 pos;
Quat rot;
Mat4 xform; /* combination of the above */
struct VRHand {
bool valid;
Vec3 pos;
Quat rot;
Mat4 xform; /* combination of the above */
- goatvr_source *src;
};
extern VRHand vrhand[2];
};
extern VRHand vrhand[2];
@@
-17,7
+17,7
@@
extern VRHand vrhand[2];
bool init_vrhands();
void destroy_vrhands();
bool init_vrhands();
void destroy_vrhands();
-void update_vrhands();
+void update_vrhands(const Avatar *avatar);
void draw_vrhands();
#endif /* VRINPUT_H_ */
void draw_vrhands();
#endif /* VRINPUT_H_ */