closed #3453: refactor PhysicsDebugDraw