mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 10:00:10 +02:00
Changed false colorization to use point in frustum for now, since that works
This commit is contained in:
parent
a02a75f516
commit
3dc818d31e
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ bool VoxelSystem::falseColorizeInViewOperation(VoxelNode* node, bool down, void*
|
|||
voxelBox.x, voxelBox.y, voxelBox.z);
|
||||
|
||||
// If the voxel is outside of the view frustum, then false color it red
|
||||
if (ViewFrustum::OUTSIDE == viewFrustum->boxInFrustum(voxelBox)) {
|
||||
if (ViewFrustum::OUTSIDE == viewFrustum->pointInFrustum(voxelBox.corner)) {
|
||||
// Out of view voxels are colored RED
|
||||
unsigned char newR = 255;
|
||||
unsigned char newG = 0;
|
||||
|
|
Loading…
Reference in a new issue