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

Function drawQuad

Three.js/js/Three59dev.js:15815–15824  ·  view source on GitHub ↗
( x0, y0, x1, y1, x2, y2, x3, y3 )

Source from the content-addressed store, hash-verified

15813 }
15814
15815 function drawQuad( x0, y0, x1, y1, x2, y2, x3, y3 ) {
15816
15817 _context.beginPath();
15818 _context.moveTo( x0, y0 );
15819 _context.lineTo( x1, y1 );
15820 _context.lineTo( x2, y2 );
15821 _context.lineTo( x3, y3 );
15822 _context.closePath();
15823
15824 }
15825
15826 function strokePath( color, linewidth, linecap, linejoin ) {
15827

Callers 1

renderFace4Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected