projects
/
laserbrain_demo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1ab89a16503dc457b48cae17dd1775bf4c91eed6
[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_ */