Also missed an early out now.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@673 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2007-05-30 00:19:34 +00:00
parent 8e22e4a261
commit 4103ddd043
1 changed files with 3 additions and 0 deletions

View File

@ -843,7 +843,10 @@ bool CSceneManager::isCulled(ISceneNode* node)
for (u32 j=0; j<8; ++j) for (u32 j=0; j<8; ++j)
{ {
if (frust.planes[i].classifyPointRelation(edges[j]) != core::ISREL3D_FRONT) if (frust.planes[i].classifyPointRelation(edges[j]) != core::ISREL3D_FRONT)
{
boxInFrustum=true; boxInFrustum=true;
break;
}
} }
if (!boxInFrustum) if (!boxInFrustum)