diff options
Diffstat (limited to 'src/extantz/scenri.h')
-rw-r--r-- | src/extantz/scenri.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/extantz/scenri.h b/src/extantz/scenri.h new file mode 100644 index 0000000..1913755 --- /dev/null +++ b/src/extantz/scenri.h | |||
@@ -0,0 +1,43 @@ | |||
1 | #ifndef _SCENRI_H_ | ||
2 | #define _SCENRI_H_ | ||
3 | |||
4 | typedef struct _cameraMove | ||
5 | { | ||
6 | float x, y, z; | ||
7 | float r, s, t; | ||
8 | float jump; | ||
9 | float JumpSpeed, RotateSpeed, MoveSpeed; | ||
10 | } cameraMove; | ||
11 | |||
12 | typedef struct _vec4 | ||
13 | { | ||
14 | float x; | ||
15 | float y; | ||
16 | float z; | ||
17 | float w; | ||
18 | } vec4; | ||
19 | |||
20 | typedef struct _vec3 | ||
21 | { | ||
22 | float x; | ||
23 | float y; | ||
24 | float z; | ||
25 | } vec3; | ||
26 | |||
27 | typedef struct _vec2 | ||
28 | { | ||
29 | float x; | ||
30 | float y; | ||
31 | } vec2; | ||
32 | |||
33 | typedef struct _vertex | ||
34 | { | ||
35 | vec3 position; | ||
36 | vec3 normal; | ||
37 | vec3 tangent; | ||
38 | vec4 color; | ||
39 | vec3 texcoord; | ||
40 | } vertex; | ||
41 | |||
42 | |||
43 | #endif | ||