BSP Trees: The Magic Behind Collision Detection in Quake