mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-20 02:15:32 +00:00
Reorganized CScene; better organization, less redundant code, responsibility for show/hide shifted to other classes, and in position to implement CSceneIterator
This commit is contained in:
@@ -189,6 +189,9 @@ void CDamageableTriggerExtra::AddToRenderer(CRenderer *pRenderer, const SViewInf
|
||||
if (ViewInfo.GameMode && !mpInstance->IsActive())
|
||||
return;
|
||||
|
||||
if ((ViewInfo.ShowFlags & eShowObjectGeometry) == 0)
|
||||
return;
|
||||
|
||||
if (mRenderSide != eNoRender)
|
||||
{
|
||||
if (ViewInfo.ViewFrustum.BoxInFrustum(AABox()))
|
||||
|
||||
Reference in New Issue
Block a user