closed #4498: Refactor PhysicsDebugDraw.