craftyjs/Crafty — pull request #829 by starwed (2014-10-30 14:23:00+00:00)
Title: Fix bug in _SAT collision test

The test improperly detected min/max values in some cases. This fixes that issue by comparing to +/- Infinity instead of special casing the initial values. (It also gets rid of a now needless comparison, which might help performance.)

This also includes a test that catches the issue.

Fixes issue #828.