diff options
author | David Walter Seikel | 2014-05-06 00:12:23 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-06 00:12:23 +1000 |
commit | 95e4dc70ff9118d0abfd5321605385321ab02f5c (patch) | |
tree | 656aeb3983e83c22ab00ac404ba4d1448a732390 /src/extantz/scenri.h | |
parent | Clean up include files. (diff) | |
download | SledjHamr-95e4dc70ff9118d0abfd5321605385321ab02f5c.zip SledjHamr-95e4dc70ff9118d0abfd5321605385321ab02f5c.tar.gz SledjHamr-95e4dc70ff9118d0abfd5321605385321ab02f5c.tar.bz2 SledjHamr-95e4dc70ff9118d0abfd5321605385321ab02f5c.tar.xz |
Shuffle stuff around into the new scenri.c and camera stuff.
Diffstat (limited to '')
-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 | ||