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

Function drawTriangle

Three.js/js/Three56.js:14335–14343  ·  view source on GitHub ↗
( x0, y0, x1, y1, x2, y2 )

Source from the content-addressed store, hash-verified

14333 //
14334
14335 function drawTriangle( x0, y0, x1, y1, x2, y2 ) {
14336
14337 _context.beginPath();
14338 _context.moveTo( x0, y0 );
14339 _context.lineTo( x1, y1 );
14340 _context.lineTo( x2, y2 );
14341 _context.closePath();
14342
14343 }
14344
14345 function drawQuad( x0, y0, x1, y1, x2, y2, x3, y3 ) {
14346

Callers 2

renderFace3Function · 0.70
renderFace4Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected