projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
better water
[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.0
f
/
60.0
f
;
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 */