Showing the changes to interface/src/VoxelSystem.cpp (1 of 7 files). Show all
Unified · Split
| @@ -18,15 +18,10 @@ · 17 unmodified lines | |||
| 18 | #include <OctalCode.h> | 18 | #include <OctalCode.h> |
| 19 | #include <pthread.h> | 19 | #include <pthread.h> |
| 20 | #include "Log.h" | 20 | #include "Log.h" |
| 21 | #include "VoxelConstants.h" | ||
| 21 | 22 | ||
| 22 | #include "VoxelSystem.h" | 23 | #include "VoxelSystem.h" |
| 23 | 24 | ||
| 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 | |||
| 30 | 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, | 25 | 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, |
| 31 | 0,0,0, 1,0,0, 1,1,0, 0,1,0, 0,0,1, 1,0,1, 1,1,1, 0,1,1, | 26 | 0,0,0, 1,0,0, 1,1,0, 0,1,0, 0,0,1, 1,0,1, 1,1,1, 0,1,1, |
| 32 | 0,0,0, 1,0,0, 1,1,0, 0,1,0, 0,0,1, 1,0,1, 1,1,1, 0,1,1 }; | 27 | 0,0,0, 1,0,0, 1,1,0, 0,1,0, 0,0,1, 1,0,1, 1,1,1, 0,1,1 }; |