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

Function drawTriangle

Three.js/js/Three62dev.js:16042–16050  ·  view source on GitHub ↗
( x0, y0, x1, y1, x2, y2 )

Source from the content-addressed store, hash-verified

16040 //
16041
16042 function drawTriangle( x0, y0, x1, y1, x2, y2 ) {
16043
16044 _context.beginPath();
16045 _context.moveTo( x0, y0 );
16046 _context.lineTo( x1, y1 );
16047 _context.lineTo( x2, y2 );
16048 _context.closePath();
16049
16050 }
16051
16052 function strokePath( color, linewidth, linecap, linejoin ) {
16053

Callers 1

renderFace3Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected