Also missed an early out now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@673 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
8e22e4a261
commit
4103ddd043
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue