Make the collision function independant of sphere geometry in preparation for new shapes.