diff options
Diffstat (limited to 'src/static-plane.cpp')
| -rw-r--r-- | src/static-plane.cpp | 21 |
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, + }, +}; |
