Foundations of collision detection added