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

Function color3f

Engine/source/gfx/primBuilder.cpp:319–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319void color3f( F32 red, F32 green, F32 blue )
320{
321 mCurColor.set( U8( red * 255 ), U8( green * 255 ), U8( blue * 255 ) );
322}
323
324void color4f( F32 red, F32 green, F32 blue, F32 alpha )
325{

Callers 4

drawLineMethod · 0.85
onRenderMethod · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected