summaryrefslogtreecommitdiff
path: root/src/static/cube.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-10-10 14:58:06 -0400
committerJonathan Bradley <jcb@pikum.xyz>2023-10-10 14:58:06 -0400
commitf872f6b0f27401804e51e7ddbccf680aba8d535e (patch)
treea1d4417f95e5da2230b67a9cd09fbc5e59b401a7 /src/static/cube.hpp
parentfd7f42449557771ab0b6a679853c245681801ba3 (diff)
create and destroy debug pipeline resources
Diffstat (limited to 'src/static/cube.hpp')
-rw-r--r--src/static/cube.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/static/cube.hpp b/src/static/cube.hpp
new file mode 100644
index 0000000..77ff439
--- /dev/null
+++ b/src/static/cube.hpp
@@ -0,0 +1,16 @@
+#ifndef PKE_STATIC_CUBE_HPP
+#define PKE_STATIC_CUBE_HPP
+
+#include <glm/ext/vector_float3.hpp>
+#include <glm/ext/vector_float2.hpp>
+
+struct IntrinsicShapeCube {
+ glm::vec3 vert[8];
+ glm::vec3 norm[8];
+ glm::vec2 uv[8];
+ uint16_t index[36];
+};
+
+extern IntrinsicShapeCube pkeIntrinsicsCube;
+
+#endif /* PKE_STATIC_CUBE_HPP */