Add primitives for collision with sweeping AABBs.

No collision or on-hit callbacks added yet. Also fixes partially inverted Y axis
which was rendered incorrectly.