Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all
Unified · Split
| @@ -922,9 +922,7 @@ int VoxelSystem::newTreeToArrays(VoxelTreeElement* voxel) { · 921 unmodified lines | ||
| 922 | 922 | } |
| 923 | 923 | } |
| 924 | 924 | |
| 925 | − // for either voxels that should not render, or those that should render and are in view | |
| 926 | − // update their geometry in the array.if the voxel "should render" but is not in view, then | |
| 927 | − // it actually doesn't need to be rendered | |
| 925 | + // update their geometry in the array. depending on our over all mode (fullVBO or not) we will reuse or not reuse the index | |
| 928 | 926 | if (_writeRenderFullVBO) { |
| 929 | 927 | const bool DONT_REUSE_INDEX = false; |
| 930 | 928 | const bool FORCE_REDRAW = true; |