aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/vertex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/o3d/vertex.hpp')
-rw-r--r--src/o3d/vertex.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/o3d/vertex.hpp b/src/o3d/vertex.hpp
new file mode 100644
index 0000000..70fca7b
--- /dev/null
+++ b/src/o3d/vertex.hpp
@@ -0,0 +1,19 @@
+#ifndef O3D_VERTEX_H
+#define O3D_VERTEX_H
+
+#include "math/vector.hpp"
+#include "o3d/vertex_data.hpp"
+
+namespace engine::o3d {
+
+using engine::math::Vector3, engine::math::Vector4;
+
+struct Vertex {
+ Vector4 vertex;
+ Vector3 normal;
+ VertexData data;
+};
+
+}
+
+#endif // O3D_VERTEX_H