Phase 2: #ifdef for Zodiacs and particles

This commit is contained in:
Marc Chapman 2018-01-23 22:03:18 +00:00
parent 1c2effd7fa
commit af62b5c0a9
7 changed files with 38 additions and 13 deletions

View file

@ -44,8 +44,9 @@
#include "T3D/physics/physicsPlugin.h"
#include "T3D/physics/physicsBody.h"
#include "T3D/physics/physicsCollision.h"
#ifdef TORQUE_AFX_ENABLED
#include "afx/ce/afxZodiacMgr.h"
#endif
/// Minimum square size allowed. This is a cheap way to limit the amount
/// of geometry possibly generated by the GroundPlane (vertex buffers have a
@ -362,8 +363,9 @@ void GroundPlane::prepRenderImage( SceneRenderState* state )
createGeometry( state->getCullingFrustum() );
if( mVertexBuffer.isNull() )
return;
#ifdef TORQUE_AFX_ENABLED
afxZodiacMgr::renderGroundPlaneZodiacs(state, this);
#endif
// Add a render instance.
RenderPassManager* pass = state->getRenderPass();