diff options
Diffstat (limited to 'src/o3d/mesh.cpp')
-rw-r--r-- | src/o3d/mesh.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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 <vector> #include <array> -#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 |