projects
/
laserbrain_demo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
vr input
[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
goatvr_source *src;
13
};
14
15
extern VRHand vrhand[2];
16
17
bool init_vrhands();
18
void destroy_vrhands();
19
20
void update_vrhands();
21
void draw_vrhands();
22
23
#endif /* VRINPUT_H_ */