MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / drawQuad

Function drawQuad

7DFPS/js/Three.js:16188–16197  ·  view source on GitHub ↗
( x0, y0, x1, y1, x2, y2, x3, y3 )

Source from the content-addressed store, hash-verified

16186 }
16187
16188 function drawQuad( x0, y0, x1, y1, x2, y2, x3, y3 ) {
16189
16190 _context.beginPath();
16191 _context.moveTo( x0, y0 );
16192 _context.lineTo( x1, y1 );
16193 _context.lineTo( x2, y2 );
16194 _context.lineTo( x3, y3 );
16195 _context.closePath();
16196
16197 }
16198
16199 function strokePath( color, linewidth, linecap, linejoin ) {
16200

Callers 1

renderFace4Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected