diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-01-23 21:57:31 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-01-23 21:57:31 -0500 |
| commit | e93eb289ca44e98967482ab80fd5329f85ccd03e (patch) | |
| tree | 4164b6d5b9ac2e40d18ec3eea52730c9f9606ccb /src/static-plane.hpp | |
| parent | 846a6e1185417ee3e187edc06ef327d180bf0d9b (diff) | |
pke: first-pass 2d overlay render pass scaffolding
Diffstat (limited to 'src/static-plane.hpp')
| -rw-r--r-- | src/static-plane.hpp | 15 |
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 */ |
