MCPcopy Create free account
hub / github.com/electronstudio/raylib-python-cffi / __rsub__

Method __rsub__

examples/extra/vector2_extended.py:72–73  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

70 return self
71
72 def __rsub__(self, other):
73 return Vector2Ex(other - self.x, other - self.y)
74
75 def __mul__(self, other):
76 if isinstance(other, Vector2Ex):

Callers

nothing calls this directly

Calls 1

Vector2ExClass · 0.85

Tested by

no test coverage detected