MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / drawLine

Method drawLine

Engine/source/gfx/gfxDrawUtil.cpp:613–616  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Draw Line -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

611// Draw Line
612//-----------------------------------------------------------------------------
613void GFXDrawUtil::drawLine( const Point3F &startPt, const Point3F &endPt, const ColorI &color )
614{
615 drawLine( startPt.x, startPt.y, startPt.z, endPt.x, endPt.y, endPt.z, color );
616}
617
618void GFXDrawUtil::drawLine( const Point2F &startPt, const Point2F &endPt, const ColorI &color )
619{

Callers 5

onRenderMethod · 0.45
onRenderMethod · 0.45
calcLightMatricesMethod · 0.45
on3DMouseDownMethod · 0.45
prepRenderImageMethod · 0.45

Calls 8

setVertexBufferMethod · 0.80
drawLineFunction · 0.50
lockMethod · 0.45
setMethod · 0.45
unlockMethod · 0.45
setStateBlockMethod · 0.45
setupGenericShadersMethod · 0.45
drawPrimitiveMethod · 0.45

Tested by

no test coverage detected