

def __truediv__(self, scalar):
    return Vector2((self.x / scalar), (self.y / scalar))

dataset/ETHPy150Open PythonProgramming/Beginning-Game-Development-with-Python-and-Pygame/Chapter 6/gameobjects/vector2.py Vector2.__truediv__/original