From 2cee643e7c4563692c44eee0b0b6884067587fab Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Wed, 8 May 2013 00:47:42 -0700 Subject: [PATCH] update TREE_SCALE to 128 so it's power of 2, and MAX_VOXELS_PER_SYSTEM to 500k --- libraries/voxels/src/VoxelConstants.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/voxels/src/VoxelConstants.h b/libraries/voxels/src/VoxelConstants.h index 41007a47c7..9df2cdbc5e 100644 --- a/libraries/voxels/src/VoxelConstants.h +++ b/libraries/voxels/src/VoxelConstants.h @@ -14,12 +14,12 @@ #include -const int TREE_SCALE = 100; +const int TREE_SCALE = 128; const int NUMBER_OF_CHILDREN = 8; const int MAX_VOXEL_PACKET_SIZE = 1492; const int MAX_TREE_SLICE_BYTES = 26; -const int MAX_VOXELS_PER_SYSTEM = 250000; +const int MAX_VOXELS_PER_SYSTEM = 500000; const int VERTICES_PER_VOXEL = 24; const int VERTEX_POINTS_PER_VOXEL = 3 * VERTICES_PER_VOXEL; const int INDICES_PER_VOXEL = 3 * 12;