Showing the changes to interface/src/VoxelSystem.cpp (1 of 2 files). Show all
Unified · Split
| @@ -465,7 +465,7 @@ bool VoxelSystem::falseColorizeInViewOperation(VoxelNode* node, bool down, void* · 464 unmodified lines | |||
| 465 | voxelBox.getSize().x); | 465 | voxelBox.getSize().x); |
| 466 | 466 | ||
| 467 | // If the voxel is outside of the view frustum, then false color it red | 467 | // If the voxel is outside of the view frustum, then false color it red |
| 468 | if (ViewFrustum::OUTSIDE == viewFrustum->pointInFrustum(voxelBox.getCorner())) { | 468 | if (ViewFrustum::OUTSIDE == viewFrustum->boxInFrustum(voxelBox)) { |
| 469 | // Out of view voxels are colored RED | 469 | // Out of view voxels are colored RED |
| 470 | unsigned char newR = 255; | 470 | unsigned char newR = 255; |
| 471 | unsigned char newG = 0; | 471 | unsigned char newG = 0; |