aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/vertex.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/vertex.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/vertex.h')
-rw-r--r--src/o3d/vertex.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/o3d/vertex.h b/src/o3d/vertex.h
index 66d073d..022fdf7 100644
--- a/src/o3d/vertex.h
+++ b/src/o3d/vertex.h
@@ -1,25 +1,25 @@
#ifndef O3D_VERTEX_H
#define O3D_VERTEX_H
-#include "math/math_vector.h"
+#include "math/vector.h"
#include "o3d/vertex_data.h"
namespace engine::o3d {
class Vertex3 {
public:
- engine::math::MathVector3 point;
+ engine::math::Vector3 point;
VertexData data;
- Vertex3(engine::math::MathVector3 point, VertexData data);
+ Vertex3(engine::math::Vector3 point, VertexData data);
};
class Vertex4 {
public:
- engine::math::MathVector4 point;
+ engine::math::Vector4 point;
VertexData data;
- Vertex4(engine::math::MathVector4 point, VertexData data);
+ Vertex4(engine::math::Vector4 point, VertexData data);
Vertex4(Vertex3 vertex);
Vertex3 div_by_w() const;
};