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

Function drawTriangle

Three.js/js/ThreeDebug.js:9853–9862  ·  view source on GitHub ↗
( x0, y0, x1, y1, x2, y2 )

Source from the content-addressed store, hash-verified

9851 //
9852
9853 function drawTriangle( x0, y0, x1, y1, x2, y2 ) {
9854
9855 _context.beginPath();
9856 _context.moveTo( x0, y0 );
9857 _context.lineTo( x1, y1 );
9858 _context.lineTo( x2, y2 );
9859 _context.lineTo( x0, y0 );
9860 _context.closePath();
9861
9862 }
9863
9864 function drawQuad( x0, y0, x1, y1, x2, y2, x3, y3 ) {
9865

Callers 2

renderFace3Function · 0.70
renderFace4Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected