aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/o3d/camera.h')
-rw-r--r--src/o3d/camera.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/o3d/camera.h b/src/o3d/camera.h
new file mode 100644
index 0000000..1039f86
--- /dev/null
+++ b/src/o3d/camera.h
@@ -0,0 +1,21 @@
+#ifndef O3D_CAMERA_H
+#define O3D_CAMERA_H
+
+#include "math/math_vector.h"
+
+namespace engine::o3d {
+
+class Scene;
+
+class Camera {
+ public:
+ Scene* scene = nullptr;
+ engine::math::MathVector3 loc;
+ float rot_x, rot_y, rot_z; // TODO: replace by quaternions
+
+ Camera(engine::math::MathVector3 loc, float rot_x, float rot_y, float rot_z);
+};
+
+}
+
+#endif // O3D_CAMERA_H