From 95e4dc70ff9118d0abfd5321605385321ab02f5c Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 6 May 2014 00:12:23 +1000 Subject: Shuffle stuff around into the new scenri.c and camera stuff. --- src/extantz/scenri.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/extantz/scenri.h (limited to 'src/extantz/scenri.h') 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 @@ +#ifndef _SCENRI_H_ +#define _SCENRI_H_ + +typedef struct _cameraMove +{ + float x, y, z; + float r, s, t; + float jump; + float JumpSpeed, RotateSpeed, MoveSpeed; +} cameraMove; + +typedef struct _vec4 +{ + float x; + float y; + float z; + float w; +} vec4; + +typedef struct _vec3 +{ + float x; + float y; + float z; +} vec3; + +typedef struct _vec2 +{ + float x; + float y; +} vec2; + +typedef struct _vertex +{ + vec3 position; + vec3 normal; + vec3 tangent; + vec4 color; + vec3 texcoord; +} vertex; + + +#endif -- cgit v1.1