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

Method DrawSphere

trinity/Tr2Renderer.cpp:1334–1340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1332}
1333
1334void Tr2Renderer::DrawSphere( const Vector3& center, float radius, int segments, uint32_t color /*= 0xffffffff */ )
1335{
1336 if( s_debugLineSet )
1337 {
1338 s_debugLineSet->AddSphere( center, radius, segments, color );
1339 }
1340}
1341
1342void Tr2Renderer::DrawSphere( const Vector4& sphere, int segments, uint32_t color /*= 0xffffffff */ )
1343{

Callers

nothing calls this directly

Calls 2

AddSphereMethod · 0.80
Vector3Class · 0.70

Tested by

no test coverage detected