MCPcopy Index your code
hub / github.com/processing/p5.js / _shapeCorners

Function _shapeCorners

test/unit/visual/cases/shape_modes.js:92–94  ·  view source on GitHub ↗
(x1, y1, x2, y2)

Source from the content-addressed store, hash-verified

90 // Make the following calls to shapeCorners shorter
91 // by omitting p5, shape and mode parameters
92 function _shapeCorners(x1, y1, x2, y2) {
93 shapeCorners(p5, shape, p5[mode], x1, y1, x2, y2);
94 }
95
96 // Quadrant I (Bottom Right)
97 // P1 P2

Callers 1

shape_modes.jsFile · 0.85

Calls 1

shapeCornersFunction · 0.85

Tested by

no test coverage detected