From e93eb289ca44e98967482ab80fd5329f85ccd03e Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 23 Jan 2025 21:57:31 -0500 Subject: pke: first-pass 2d overlay render pass scaffolding --- src/static-plane.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/static-plane.cpp (limited to 'src/static-plane.cpp') 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, + }, +}; -- cgit v1.2.3