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

Method RenderDebugInfo

trinity/Particle/Tr2ForceSphereVolume.cpp:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void Tr2ForceSphereVolume::RenderDebugInfo( ITr2DebugRenderer2& renderer, const Matrix& worldTransform, const CcpMath::AxisAlignedBox& aabb ) const
62{
63 renderer.DrawSphere( this, worldTransform, m_position, m_radius, 20, ITr2DebugRenderer2::Wireframe, 0xffaaaa00 );
64 for( auto& force : m_forces )
65 {
66 force->RenderDebugInfo( renderer, worldTransform, aabb );
67 }
68}

Callers

nothing calls this directly

Calls 1

DrawSphereMethod · 0.45

Tested by

no test coverage detected