MCPcopy Create free account
hub / github.com/carbonengine/trinity / RenderDebugInfo

Method RenderDebugInfo

trinity/Particle/Tr2ParticleSystem.cpp:1669–1684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1667}
1668
1669void Tr2ParticleSystem::RenderDebugInfo( ITr2DebugRenderer2& renderer, const Matrix& worldTransform ) const
1670{
1671 if( !renderer.HasOption( this, "Particle Systems" ) )
1672 {
1673 return;
1674 }
1675 auto aabb = CcpMath::AxisAlignedBox( m_AabbMin, m_AabbMax );
1676 for( auto& force : m_forces )
1677 {
1678 force->RenderDebugInfo( renderer, worldTransform, aabb );
1679 }
1680 for( auto& force : m_constraints )
1681 {
1682 force->RenderDebugInfo( renderer, worldTransform, aabb );
1683 }
1684}

Callers

nothing calls this directly

Calls 1

HasOptionMethod · 0.80

Tested by

no test coverage detected