summary refs log tree commit diff
path: root/src/Camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Camera.h')
-rw-r--r--src/Camera.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Camera.h b/src/Camera.h
new file mode 100644
index 0000000..a31055f
--- /dev/null
+++ b/src/Camera.h
@@ -0,0 +1,29 @@
+#ifndef _CAMERA_H_
+#define _CAMERA_H_
+
+
+/**> HEADER FILES <**/
+#ifdef OS9 
+#include <gl.h>
+#else
+#include <GL/gl.h>
+#endif
+
+#include "Quaternions.h"
+
+class Camera
+{
+	public:
+		XYZ position;
+		XYZ oldposition;
+		XYZ targetoffset;
+		
+	 	float rotation, rotation2;
+	 	float oldrotation, oldrotation2;
+	 	float oldoldrotation, oldoldrotation2;
+	 	float visrotation,  visrotation2;
+		void Apply();
+};
+
+#endif
+