MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / drawTriangle

Function drawTriangle

Three.js/js/Three62.js:16084–16092  ·  view source on GitHub ↗
( x0, y0, x1, y1, x2, y2 )

Source from the content-addressed store, hash-verified

16082 //
16083
16084 function drawTriangle( x0, y0, x1, y1, x2, y2 ) {
16085
16086 _context.beginPath();
16087 _context.moveTo( x0, y0 );
16088 _context.lineTo( x1, y1 );
16089 _context.lineTo( x2, y2 );
16090 _context.closePath();
16091
16092 }
16093
16094 function strokePath( color, linewidth, linecap, linejoin ) {
16095

Callers 1

renderFace3Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected