Skip to content
Permalink
Browse files
CPUTFrustum: Don't update debug counters, they cause unnecessary shar…
…ing!
  • Loading branch information
rygorous committed Jan 31, 2013
1 parent ef4e2d0 commit 1e1b5cc
Showing 1 changed file with 2 additions and 2 deletions.
@@ -173,14 +173,14 @@ bool CPUTFrustum::IsVisible(
// If not all negative, at least one plane rejected the box completely
if ( !_mm_testc_si128( _mm_castps_si128( dot ), _mm_castps_si128( signMask ) ) )
{
mNumFrustumCulledModels++;
//mNumFrustumCulledModels++;
return false;
}
}

// Tested box against all six planes and none of the planes
// had the full box outside.
mNumFrustumVisibleModels++;
//mNumFrustumVisibleModels++;
return true;
}

0 comments on commit 1e1b5cc

Please sign in to comment.