]> git.lizzy.rs Git - dragonblocks3d.git/blobdiff - src/dragonblocks/cube.cpp
New structure
[dragonblocks3d.git] / src / dragonblocks / cube.cpp
diff --git a/src/dragonblocks/cube.cpp b/src/dragonblocks/cube.cpp
deleted file mode 100644 (file)
index e132b70..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#include "cube.hpp"
-
-GLfloat dragonblocks::cube[DRAGONBLOCKS_CUBE_VERTEX_COUNT] = {
-//  x     y     z      s     t
-       -0.5, -0.5, -0.5,  +0.0, +0.0,
-       +0.5, -0.5, -0.5,  +1.0, +0.0,
-       +0.5, +0.5, -0.5,  +1.0, +1.0,
-       +0.5, +0.5, -0.5,  +1.0, +1.0,
-       -0.5, +0.5, -0.5,  +0.0, +1.0,
-       -0.5, -0.5, -0.5,  +0.0, +0.0,
-
-       -0.5, -0.5, +0.5,  +0.0, +0.0, 
-       +0.5, +0.5, +0.5,  +1.0, +1.0,
-       +0.5, -0.5, +0.5,  +1.0, +0.0,
-       +0.5, +0.5, +0.5,  +1.0, +1.0,
-       -0.5, -0.5, +0.5,  +0.0, +0.0,
-       -0.5, +0.5, +0.5,  +0.0, +1.0,
-
-       -0.5, +0.5, +0.5,  +1.0, +1.0,
-       -0.5, -0.5, -0.5,  +0.0, +0.0,
-       -0.5, +0.5, -0.5,  +0.0, +1.0,
-       -0.5, -0.5, -0.5,  +0.0, +0.0,
-       -0.5, +0.5, +0.5,  +1.0, +1.0,
-       -0.5, -0.5, +0.5,  +1.0, +0.0,
-
-       +0.5, +0.5, +0.5,  +1.0, +1.0, 
-       +0.5, +0.5, -0.5,  +0.0, +1.0,
-       +0.5, -0.5, -0.5,  +0.0, +0.0,
-       +0.5, -0.5, -0.5,  +0.0, +0.0,
-       +0.5, -0.5, +0.5,  +1.0, +0.0,
-       +0.5, +0.5, +0.5,  +1.0, +1.0,
-
-       -0.5, -0.5, -0.5,  +0.0, +1.0,
-       +0.5, -0.5, -0.5,  +1.0, +1.0,
-       +0.5, -0.5, +0.5,  +1.0, +0.0,
-       +0.5, -0.5, +0.5,  +1.0, +0.0,
-       -0.5, -0.5, +0.5,  +0.0, +0.0,
-       -0.5, -0.5, -0.5,  +0.0, +1.0,
-
-       -0.5, +0.5, -0.5,  +0.0, +1.0,
-       +0.5, +0.5, -0.5,  +1.0, +1.0,
-       +0.5, +0.5, +0.5,  +1.0, +0.0,
-       +0.5, +0.5, +0.5,  +1.0, +0.0,
-       -0.5, +0.5, +0.5,  +0.0, +0.0,
-       -0.5, +0.5, -0.5,  +0.0, +1.0,
-};