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/mesh.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/o3d/mesh.cpp') diff --git a/src/o3d/mesh.cpp b/src/o3d/mesh.cpp index 7da77aa..47a1ea2 100644 --- a/src/o3d/mesh.cpp +++ b/src/o3d/mesh.cpp @@ -1,7 +1,7 @@ #include "o3d/mesh.h" #include #include -#include "math/math_vector.h" +#include "math/vector.h" #include "o3d/vertex.h" using namespace engine::o3d; @@ -9,14 +9,14 @@ using namespace engine::o3d; Mesh Mesh::cube() { return { { - { engine::math::MathVector3(-1.f, -1.f, -1.f), {} }, - { engine::math::MathVector3(+1.f, -1.f, -1.f), {} }, - { engine::math::MathVector3(-1.f, +1.f, -1.f), {} }, - { engine::math::MathVector3(+1.f, +1.f, -1.f), {} }, - { engine::math::MathVector3(-1.f, -1.f, +1.f), {} }, - { engine::math::MathVector3(+1.f, -1.f, +1.f), {} }, - { engine::math::MathVector3(-1.f, +1.f, +1.f), {} }, - { engine::math::MathVector3(+1.f, +1.f, +1.f), {} }, + { engine::math::Vector3(-1.f, -1.f, -1.f), {} }, + { engine::math::Vector3(+1.f, -1.f, -1.f), {} }, + { engine::math::Vector3(-1.f, +1.f, -1.f), {} }, + { engine::math::Vector3(+1.f, +1.f, -1.f), {} }, + { engine::math::Vector3(-1.f, -1.f, +1.f), {} }, + { engine::math::Vector3(+1.f, -1.f, +1.f), {} }, + { engine::math::Vector3(-1.f, +1.f, +1.f), {} }, + { engine::math::Vector3(+1.f, +1.f, +1.f), {} }, }, { { 0, 2, 3 }, { 0, 3, 1 }, // face 1 -- cgit v1.2.3