MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / drawTriangle

Function drawTriangle

Three.js/js/Three60.js:15996–16004  ·  view source on GitHub ↗
( x0, y0, x1, y1, x2, y2 )

Source from the content-addressed store, hash-verified

15994 //
15995
15996 function drawTriangle( x0, y0, x1, y1, x2, y2 ) {
15997
15998 _context.beginPath();
15999 _context.moveTo( x0, y0 );
16000 _context.lineTo( x1, y1 );
16001 _context.lineTo( x2, y2 );
16002 _context.closePath();
16003
16004 }
16005
16006 function strokePath( color, linewidth, linecap, linejoin ) {
16007

Callers 1

renderFace3Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected