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

Method __neg__

examples/extra/vector2_extended.py:105–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103 return self
104
105 def __neg__(self):
106 return Vector2Ex(-self.x, -self.y)
107
108 def __pos__(self):
109 return Vector2Ex(self.x, self.y)

Callers

nothing calls this directly

Calls 1

Vector2ExClass · 0.85

Tested by

no test coverage detected