aboutsummaryrefslogtreecommitdiff
path: root/source/Mesh.hpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-06 20:52:51 -0700
committerhnOsmium0001 <[email protected]>2022-04-06 20:52:51 -0700
commit3fdc6eb4f2cbeffce9b250beec4d3a2d52a3f534 (patch)
tree05991741844aa2814b3ac71e2c843ebe07244845 /source/Mesh.hpp
parentebd42760caaec8330a3c028f31adc7bc0b339d16 (diff)
Work on moving infrastruture to this project
Diffstat (limited to 'source/Mesh.hpp')
-rw-r--r--source/Mesh.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/Mesh.hpp b/source/Mesh.hpp
new file mode 100644
index 0000000..d383087
--- /dev/null
+++ b/source/Mesh.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "PodVector.hpp"
+#include "RcPtr.hpp"
+
+#include <cstdint>
+
+struct MeshVertex {
+ float x, y, z;
+ float u, v;
+ uint8_t r, g, b, a;
+};
+
+class Mesh : public RefCounted {
+private:
+ PodVector<MeshVertex> mVertex;
+};