History

clean up constants for voxels

ZappoMan committed 13 years ago

Commit 781721b1 parent 78e87517 files · +4 −17Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 7 files). Show all

Unified · Split

interface/src/VoxelSystem.cpp+1−6
@@ -18,15 +18,10 @@ · 17 unmodified lines
1818 #include <OctalCode.h>
1919 #include <pthread.h>
2020 #include "Log.h"
21+#include "VoxelConstants.h"
2122
2223 #include "VoxelSystem.h"
2324
24−const int MAX_VOXELS_PER_SYSTEM = 250000;
25−
26−const int VERTICES_PER_VOXEL = 24;
27−const int VERTEX_POINTS_PER_VOXEL = 3 * VERTICES_PER_VOXEL;
28−const int INDICES_PER_VOXEL = 3 * 12;
29−
3025 float identityVertices[] = { 0,0,0, 1,0,0, 1,1,0, 0,1,0, 0,0,1, 1,0,1, 1,1,1, 0,1,1,
3126 0,0,0, 1,0,0, 1,1,0, 0,1,0, 0,0,1, 1,0,1, 1,1,1, 0,1,1,
3227 0,0,0, 1,0,0, 1,1,0, 0,1,0, 0,0,1, 1,0,1, 1,1,1, 0,1,1 };