aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/o3d/camera.cpp')
-rw-r--r--src/o3d/camera.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/o3d/camera.cpp b/src/o3d/camera.cpp
new file mode 100644
index 0000000..9ad2ac7
--- /dev/null
+++ b/src/o3d/camera.cpp
@@ -0,0 +1,7 @@
+#include "o3d/camera.h"
+#include "math/math_vector.h"
+
+using namespace engine::o3d;
+
+Camera::Camera(engine::math::MathVector3 loc, float rot_x, float rot_y, float rot_z) : loc{loc}, rot_x{rot_x}, rot_y{rot_y}, rot_z{rot_z} {
+}