From 48ec7df0fd27fab05c9918e83a3a7da1cc32d7a0 Mon Sep 17 00:00:00 2001 From: vimene Date: Sun, 3 Dec 2023 09:27:32 +0100 Subject: renamed MathVector{2,3,4} to Vector{2,3,4} and Mat4 to Matrix4 in engine::math --- src/o3d/camera.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/o3d/camera.h') diff --git a/src/o3d/camera.h b/src/o3d/camera.h index 1039f86..5d72d29 100644 --- a/src/o3d/camera.h +++ b/src/o3d/camera.h @@ -1,7 +1,7 @@ #ifndef O3D_CAMERA_H #define O3D_CAMERA_H -#include "math/math_vector.h" +#include "math/vector.h" namespace engine::o3d { @@ -10,10 +10,10 @@ class Scene; class Camera { public: Scene* scene = nullptr; - engine::math::MathVector3 loc; + engine::math::Vector3 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); + Camera(engine::math::Vector3 loc, float rot_x, float rot_y, float rot_z); }; } -- cgit v1.2.3