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

Function drawTriangle

7DFPS/js/Three.js:16178–16186  ·  view source on GitHub ↗
( x0, y0, x1, y1, x2, y2 )

Source from the content-addressed store, hash-verified

16176 //
16177
16178 function drawTriangle( x0, y0, x1, y1, x2, y2 ) {
16179
16180 _context.beginPath();
16181 _context.moveTo( x0, y0 );
16182 _context.lineTo( x1, y1 );
16183 _context.lineTo( x2, y2 );
16184 _context.closePath();
16185
16186 }
16187
16188 function drawQuad( x0, y0, x1, y1, x2, y2, x3, y3 ) {
16189

Callers 2

renderFace3Function · 0.70
renderFace4Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected