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

Method DrawCapsule

trinity/RenderJob/TriStepRenderDebug.cpp:182–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void TriStepRenderDebug::DrawCapsule( const Vector3& start, const Vector3& end, float radius, int segments, uint32_t color /*= 0xffffffff */ )
183{
184 m_lineSet->AddCylinder( start, end, radius, segments, color );
185 m_lineSet->AddSphere( start, radius, segments, color );
186 m_lineSet->AddSphere( end, radius, segments, color );
187}
188
189void TriStepRenderDebug::DrawCylinder( const Vector3& start, const Vector3& end, float radius, int segments, uint32_t color /*= 0xffffffff */ )
190{

Callers

nothing calls this directly

Calls 2

AddCylinderMethod · 0.80
AddSphereMethod · 0.80

Tested by

no test coverage detected