History

Changed false colorization to use point in frustum for now, since that works

ZappoMan committed 13 years ago

Commit 3dc818d1 parent a02a75f1 file · +1 −1Browse files

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

Unified · Split

interface/src/VoxelSystem.cpp+1−1
@@ -465,7 +465,7 @@ bool VoxelSystem::falseColorizeInViewOperation(VoxelNode* node, bool down, void* · 464 unmodified lines
465465 voxelBox.x, voxelBox.y, voxelBox.z);
466466
467467 // If the voxel is outside of the view frustum, then false color it red
468− if (ViewFrustum::OUTSIDE == viewFrustum->boxInFrustum(voxelBox)) {
468+ if (ViewFrustum::OUTSIDE == viewFrustum->pointInFrustum(voxelBox.corner)) {
469469 // Out of view voxels are colored RED
470470 unsigned char newR = 255;
471471 unsigned char newG = 0;