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/obj3d.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/obj3d.h')
-rw-r--r-- | src/o3d/obj3d.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/o3d/obj3d.h b/src/o3d/obj3d.h index 3a931b1..250b6bc 100644 --- a/src/o3d/obj3d.h +++ b/src/o3d/obj3d.h @@ -1,7 +1,7 @@ #ifndef O3D_OBJ3D_H #define O3D_OBJ3D_H -#include "math/math_vector.h" +#include "math/vector.h" #include "o3d/mesh.h" namespace engine::o3d { @@ -12,11 +12,11 @@ class Object3D { public: Scene* scene = nullptr; Mesh mesh; - engine::math::MathVector3 loc; + engine::math::Vector3 loc; float scale; float rot_x, rot_y, rot_z; - Object3D(Mesh mesh, engine::math::MathVector3 loc, float scale, float rot_x, float rot_y, float rot_z); + Object3D(Mesh mesh, engine::math::Vector3 loc, float scale, float rot_x, float rot_y, float rot_z); }; } |