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

Function drawQuad

Three.js/js/ThreeDebug.js:9864–9874  ·  view source on GitHub ↗
( x0, y0, x1, y1, x2, y2, x3, y3 )

Source from the content-addressed store, hash-verified

9862 }
9863
9864 function drawQuad( x0, y0, x1, y1, x2, y2, x3, y3 ) {
9865
9866 _context.beginPath();
9867 _context.moveTo( x0, y0 );
9868 _context.lineTo( x1, y1 );
9869 _context.lineTo( x2, y2 );
9870 _context.lineTo( x3, y3 );
9871 _context.lineTo( x0, y0 );
9872 _context.closePath();
9873
9874 }
9875
9876 function strokePath( color, linewidth, linecap, linejoin ) {
9877

Callers 1

renderFace4Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected