math: grid: Refactor to improve performance a little bit.
authorDavid Thompson <dthompson2@worcester.edu>
Sun, 2 Dec 2018 22:15:18 +0000 (17:15 -0500)
committerDavid Thompson <dthompson2@worcester.edu>
Sun, 2 Dec 2018 22:15:18 +0000 (17:15 -0500)
commita15c8c5be1807d82a9c172420321cc0b9a6125d6
tree86708d3cf642ff411d919aebaf5fc361cb81172f
parent88bc7cc323556c044c355ae92ee0ef315c633846
math: grid: Refactor to improve performance a little bit.

There's still a lot of work needed to make the collision grid scale to
any reasonable number of moving objects, but this is a first step.

* chickadee/math/grid.scm: Big ol' refactor that I can't be bothered
  to list all the changes for.
chickadee/math/grid.scm