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

Method DrawLine

trinity/Tr2Renderer.cpp:1318–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1316}
1317
1318void Tr2Renderer::DrawLine( const Vector3& from, const Vector3& to, uint32_t color /*= 0xffffffff */ )
1319{
1320 if( s_debugLineSet )
1321 {
1322 s_debugLineSet->Add( from, color, to, color );
1323 }
1324}
1325
1326void Tr2Renderer::DrawLine( const Vector3& from, uint32_t fromColor, const Vector3& to, uint32_t toColor )
1327{

Callers 3

RenderDebugInfoMethod · 0.45
UpdateDebugRendererMethod · 0.45
PrePhysicsAnimationMethod · 0.45

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected