mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 05:20:31 +00:00
Phase 2: #ifdef for Zodiacs and particles
This commit is contained in:
parent
1c2effd7fa
commit
af62b5c0a9
7 changed files with 38 additions and 13 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue