backup some changes:
[demo] / src / camera.h
diff --git a/src/camera.h b/src/camera.h
new file mode 100644 (file)
index 0000000..8b3a895
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef CAMERA_H_
+#define CAMERA_H_
+
+#include <gmath/gmath.h>
+
+class Camera {
+public:
+       float phi;
+       float theta;
+       float distance;
+
+       Mat4 m_projection;
+       float fov;
+
+       Camera();
+       Camera(float phi, float theta, float distance, float fov);
+       ~Camera();
+};
+
+#endif // CAMERA_H_
\ No newline at end of file