diff options
author | vimene <vincent.menegaux@gmail.com> | 2023-12-03 09:27:32 +0100 |
---|---|---|
committer | vimene <vincent.menegaux@gmail.com> | 2023-12-03 09:27:32 +0100 |
commit | 48ec7df0fd27fab05c9918e83a3a7da1cc32d7a0 (patch) | |
tree | 259ec6e395e44b0af117adc9605203f8affb4b0f /src/o3d/camera.h | |
parent | 5a8bc0a4936cdd461c43740437541f8c991ff117 (diff) | |
download | engine-48ec7df0fd27fab05c9918e83a3a7da1cc32d7a0.tar.gz |
renamed MathVector{2,3,4} to Vector{2,3,4} and Mat4 to Matrix4 in engine::math
Diffstat (limited to 'src/o3d/camera.h')
-rw-r--r-- | src/o3d/camera.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); }; } |