aboutsummaryrefslogtreecommitdiff
path: root/source/Mesh.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-04-06 20:52:51 -0700
committerrtk0c <[email protected]>2022-04-06 20:52:51 -0700
commitf163e8f37123e651ea80b690793845b31ddb8639 (patch)
treee2c9f14d600f073533c9d01cfb90c4d60938127c /source/Mesh.hpp
parent11edae3fbf770695d1b263712ca4f3a40bdd70e3 (diff)
Changeset: 2 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;
+};