summaryrefslogtreecommitdiff
path: root/src/static-plane.cpp
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.cpp
parent846a6e1185417ee3e187edc06ef327d180bf0d9b (diff)
pke: first-pass 2d overlay render pass scaffolding
Diffstat (limited to 'src/static-plane.cpp')
-rw-r--r--src/static-plane.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/static-plane.cpp b/src/static-plane.cpp
new file mode 100644
index 0000000..d504b24
--- /dev/null
+++ b/src/static-plane.cpp
@@ -0,0 +1,21 @@
+
+#include "static-plane.hpp"
+
+IntrinsicShapePlane pkeIntrinsicsPlane {
+ .vert = {
+ {-1, -1},
+ { 1, -1},
+ { 1, 1},
+ {-1, 1},
+ },
+ .uv = {
+ {0,0},
+ {1,0},
+ {1,1},
+ {0,1},
+ },
+ .index = {
+ 2, 1, 0,
+ 0, 3, 2,
+ },
+};