AABB and line segment collision | ScratchStats