1e1ebed3c21aaa8d7dfa65f33fbfeba4943217da
[carveJwlIkooP6JGAAIwe30JlM.git] / common.h
1 #ifndef COMMON_H
2 #define COMMON_H
3
4 #define VG_3D
5 #define VG_FRAMEBUFFER_RESIZE 1
6 #include "vg/vg.h"
7
8 static float ktimestep = 1.0f/60.0f;
9
10 enum classtype
11 {
12 k_classtype_none = 0,
13 k_classtype_gate = 1
14 };
15
16 /* TODO: he needs a home somewhere */
17 typedef struct ray_hit ray_hit;
18 struct ray_hit
19 {
20 float dist;
21 u32 *tri;
22 v3f pos, normal;
23 };
24
25 #endif /* COMMON_H */