summary refs log tree commit diff
path: root/src/Camera.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Camera.hpp')
-rw-r--r--src/Camera.hpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Camera.hpp b/src/Camera.hpp
new file mode 100644
index 0000000..decba87
--- /dev/null
+++ b/src/Camera.hpp
@@ -0,0 +1,25 @@
+#pragma once
+
+#include "Math/Math.hpp"
+#include "Math/Rotation.hpp"
+
+namespace MC {
+
+class Camera {
+public:
+    Camera() = default;
+
+    Vector<3> position();
+    void set_position(Vector<3> position);
+    void move(Vector<3> by);
+
+    Rotation angles();
+    void set_angles(Rotation angles);
+    void rotate(Rotation by);
+
+private:
+    Vector<3> m_position = {};
+    Rotation m_angles = {};
+};
+
+}
\ No newline at end of file