MCPcopy Create free account
hub / github.com/microsoft/SandDance / collideRects

Function collideRects

docs/app/js/sanddance-app.js:140966–140968  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

140964 if (d.y + d.y1 > b1.y) b1.y = d.y + d.y1;
140965}
140966function collideRects(a, b) {
140967 return a.x + a.x1 > b[0].x && a.x + a.x0 < b[1].x && a.y + a.y1 > b[0].y && a.y + a.y0 < b[1].y;
140968}
140969function archimedeanSpiral(size) {
140970 var e = size[0] / size[1];
140971 return function(t) {

Callers 1

placeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected