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/obj3d.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/o3d/obj3d.h') 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); }; } -- cgit v1.2.3