From 761604f9e4815e8f4355637ebb46052314cbed86 Mon Sep 17 00:00:00 2001 From: vimene Date: Wed, 10 Dec 2025 20:40:42 +0100 Subject: renamed .h to .hpp --- src/o3d/mesh.hpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/o3d/mesh.hpp (limited to 'src/o3d/mesh.hpp') diff --git a/src/o3d/mesh.hpp b/src/o3d/mesh.hpp new file mode 100644 index 0000000..2c3a065 --- /dev/null +++ b/src/o3d/mesh.hpp @@ -0,0 +1,24 @@ +#ifndef O3D_MESH_H +#define O3D_MESH_H + +#include +#include +#include +#include +#include "math/vector.hpp" + +namespace engine::o3d { + +using engine::math::Vector3, engine::math::Vector4; + +struct Mesh { + static Mesh plane(float width, float height); + + std::vector vertices; + std::vector normals; + std::vector, 3>> indices; +}; + +} + +#endif // O3D_MESH_H -- cgit v1.2.3