aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/vertex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/o3d/vertex.h')
-rw-r--r--src/o3d/vertex.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/o3d/vertex.h b/src/o3d/vertex.h
index 1247fc8..438f8b3 100644
--- a/src/o3d/vertex.h
+++ b/src/o3d/vertex.h
@@ -6,13 +6,12 @@
namespace engine::o3d {
-class Vertex {
- public:
- engine::math::Vector4 vertex;
- engine::math::Vector3 normal;
- VertexData data;
+using engine::math::Vector3, engine::math::Vector4;
- Vertex(engine::math::Vector4 vertex, engine::math::Vector3 normal, VertexData data);
+struct Vertex {
+ Vector4 vertex;
+ Vector3 normal;
+ VertexData data;
};
}