summaryrefslogtreecommitdiff
path: root/src/static-plane.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-01-23 21:57:31 -0500
committerJonathan Bradley <jcb@pikum.xyz>2025-01-23 21:57:31 -0500
commite93eb289ca44e98967482ab80fd5329f85ccd03e (patch)
tree4164b6d5b9ac2e40d18ec3eea52730c9f9606ccb /src/static-plane.hpp
parent846a6e1185417ee3e187edc06ef327d180bf0d9b (diff)
pke: first-pass 2d overlay render pass scaffolding
Diffstat (limited to 'src/static-plane.hpp')
-rw-r--r--src/static-plane.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/static-plane.hpp b/src/static-plane.hpp
new file mode 100644
index 0000000..097a779
--- /dev/null
+++ b/src/static-plane.hpp
@@ -0,0 +1,15 @@
+#ifndef PKE_STATIC_PLANE_HPP
+#define PKE_STATIC_PLANE_HPP
+
+#include <glm/ext/vector_float3.hpp>
+#include <glm/ext/vector_float2.hpp>
+
+struct IntrinsicShapePlane {
+ glm::vec2 vert[4];
+ glm::vec2 uv[4];
+ uint16_t index[6];
+};
+
+extern IntrinsicShapePlane pkeIntrinsicsPlane;
+
+#endif /* PKE_STATIC_PLANE_HPP */