6 Commits

Author SHA1 Message Date
Tim Mickel
be6d2dc4e4 Bounding-box optimizations for touching color, touching drawables (#55)
* Add Rectangle utility and use it in Drawable.getBounds

* Add `getAABB`, `getFastBounds`.

* Add width and height getters to Rectangle

* Add rectangle clamp

* Optimized isTouchingColor

* Optimized isTouchingDrawables

* Rectangle.ceil -> Rectangle.snapToInt

* Refactor to common _touchingQueryCandidates

* Split helper into two
2016-10-24 13:19:20 -04:00
Tim Mickel
a62d52a2d0 Calculating tight bounding boxes for Drawables (#42) 2016-10-11 18:14:14 -04:00
Ray Schamp
9f26ab17eb Publish playground to gh-pages 2016-09-24 15:26:37 -04:00
Tim Mickel
fb3f677e2c Remove worker support (#36)
* Remove WebWorker support

* Recompile Sept. 14
2016-09-15 19:01:44 -04:00
Andrew Sliwinski
92fc916b86 Synchronize with master branch 2016-08-08 14:58:35 -04:00
Andrew Sliwinski
3dca142bb9 Move “demo” into “playground” directory as to match VM and Blocks 2016-08-08 14:22:06 -04:00