summaryrefslogtreecommitdiff
path: root/src/static/cube.cpp
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.cpp
parentfd7f42449557771ab0b6a679853c245681801ba3 (diff)
create and destroy debug pipeline resources
Diffstat (limited to 'src/static/cube.cpp')
-rw-r--r--src/static/cube.cpp49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/static/cube.cpp b/src/static/cube.cpp
new file mode 100644
index 0000000..92c6274
--- /dev/null
+++ b/src/static/cube.cpp
@@ -0,0 +1,49 @@
+
+#include "./cube.hpp"
+
+IntrinsicShapeCube pkeIntrinsicsCube {
+ .vert = {
+ {-1, -1, -1},
+ {-1, -1, 1},
+ {-1, 1, 1},
+ {-1, 1, -1},
+ {1, 1, 1},
+ {1, 1, -1},
+ {1, -1, -1},
+ {1, -1, 1},
+ },
+ .norm = {
+ {-1, -1, -1},
+ {-1, -1, 1},
+ {-1, 1, 1},
+ {-1, 1, -1},
+ {1, 1, 1},
+ {1, 1, -1},
+ {1, -1, -1},
+ {1, -1, 1},
+ },
+ .uv = {
+ {0, 0},
+ {0, 0},
+ {0, 0},
+ {0, 0},
+ {0, 0},
+ {0, 0},
+ {0, 0},
+ {0, 0},
+ },
+ .index = {
+ 0, 1, 2,
+ 5, 0, 3,
+ 7, 0, 6,
+ 5, 6, 0,
+ 0, 2, 3,
+ 7, 1, 0,
+ 2, 1, 7,
+ 4, 6, 5,
+ 6, 4, 7,
+ 4, 5, 3,
+ 4, 3, 2,
+ 4, 2, 7,
+ },
+};