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

Function drawTriangle

Three.js/js/Three66.js:16862–16870  ·  view source on GitHub ↗
( x0, y0, x1, y1, x2, y2 )

Source from the content-addressed store, hash-verified

16860 //
16861
16862 function drawTriangle( x0, y0, x1, y1, x2, y2 ) {
16863
16864 _context.beginPath();
16865 _context.moveTo( x0, y0 );
16866 _context.lineTo( x1, y1 );
16867 _context.lineTo( x2, y2 );
16868 _context.closePath();
16869
16870 }
16871
16872 function strokePath( color, linewidth, linecap, linejoin ) {
16873

Callers 1

renderFace3Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected