diff options
Diffstat (limited to 'src/cube.h')
| -rw-r--r-- | src/cube.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/cube.h b/src/cube.h new file mode 100644 index 0000000..fd071d0 --- /dev/null +++ b/src/cube.h @@ -0,0 +1,60 @@ +#pragma once + +#include <cglm/cglm.h> + +static const vec3 CUBE[6][6] = { + { + // PX + { 1, 1, 1 }, + { 1, 0, 1 }, + { 1, 0, 0 }, + { 1, 0, 0 }, + { 1, 1, 0 }, + { 1, 1, 1 }, + }, + { + // NX + { 0, 1, 0 }, + { 0, 0, 0 }, + { 0, 0, 1 }, + { 0, 0, 1 }, + { 0, 1, 1 }, + { 0, 1, 0 }, + }, + { + // PY + { 1, 1, 0 }, + { 0, 1, 0 }, + { 0, 1, 1 }, + { 0, 1, 1 }, + { 1, 1, 1 }, + { 1, 1, 0 }, + }, + { + // NY + { 0, 0, 1 }, + { 0, 0, 0 }, + { 1, 0, 0 }, + { 1, 0, 0 }, + { 1, 0, 1 }, + { 0, 0, 1 }, + }, + { + // PZ + { 0, 1, 1 }, + { 0, 0, 1 }, + { 1, 0, 1 }, + { 1, 0, 1 }, + { 1, 1, 1 }, + { 0, 1, 1 }, + }, + { + // NZ + { 1, 1, 0 }, + { 1, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 1, 0 }, + { 1, 1, 0 }, + }, +}; |