aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/obj3d.h
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-12-03 09:27:32 +0100
committervimene <vincent.menegaux@gmail.com>2023-12-03 09:27:32 +0100
commit48ec7df0fd27fab05c9918e83a3a7da1cc32d7a0 (patch)
tree259ec6e395e44b0af117adc9605203f8affb4b0f /src/o3d/obj3d.h
parent5a8bc0a4936cdd461c43740437541f8c991ff117 (diff)
downloadengine-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.h6
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);
};
}