summaryrefslogtreecommitdiff
path: root/src/static
diff options
context:
space:
mode:
Diffstat (limited to 'src/static')
-rw-r--r--src/static/cube.cpp49
-rw-r--r--src/static/cube.hpp16
-rw-r--r--src/static/missing-texture.hpp24
3 files changed, 0 insertions, 89 deletions
diff --git a/src/static/cube.cpp b/src/static/cube.cpp
deleted file mode 100644
index 2d9e6d7..0000000
--- a/src/static/cube.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-
-#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, 1},
- {1, 0},
- {1, 1},
- {0, 0},
- {0, 1},
- {1, 0},
- {1, 1},
- },
- .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,
- },
-};
diff --git a/src/static/cube.hpp b/src/static/cube.hpp
deleted file mode 100644
index 77ff439..0000000
--- a/src/static/cube.hpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef PKE_STATIC_CUBE_HPP
-#define PKE_STATIC_CUBE_HPP
-
-#include <glm/ext/vector_float3.hpp>
-#include <glm/ext/vector_float2.hpp>
-
-struct IntrinsicShapeCube {
- glm::vec3 vert[8];
- glm::vec3 norm[8];
- glm::vec2 uv[8];
- uint16_t index[36];
-};
-
-extern IntrinsicShapeCube pkeIntrinsicsCube;
-
-#endif /* PKE_STATIC_CUBE_HPP */
diff --git a/src/static/missing-texture.hpp b/src/static/missing-texture.hpp
deleted file mode 100644
index 83f7162..0000000
--- a/src/static/missing-texture.hpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef PKE_STATIC_MISSING_TEXTURE_HPP
-#define PKE_STATIC_MISSING_TEXTURE_HPP
-
-/*
- * 0: #373b3e (55,59,62) // dark grey (desaturated light blue)
- * 1: #bec8d1 (190,200,209) // light grey (desaturated light blue)
- * 2: #86cecb (134,206,203) // light cyan
- * 3: #137a7f (19,122,127) // dark cyan
- * 4: #e12885 (225,40,133) // magenta
- */
-
-const unsigned long PKE_MISSING_TEXTURE_BYTE_COUNT = 16;
-const unsigned char PKE_MISSING_TEXTURE_DATA[PKE_MISSING_TEXTURE_BYTE_COUNT] = {
- // top left : color 0
- 0x37, 0x3b, 0x3e, 0xff,
- // top right : color 2
- 0x86, 0xce, 0xcb, 0xff,
- // bottom left : color 3
- 0x13, 0x7a, 0x7f, 0xff,
- // bottom right : color 4
- 0xe1, 0x28, 0x85, 0xff,
-};
-
-#endif /* PKE_STATIC_MISSING_TEXTURE_HPP */