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

Method __pos__

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

Source from the content-addressed store, hash-verified

106 return Vector2Ex(-self.x, -self.y)
107
108 def __pos__(self):
109 return Vector2Ex(self.x, self.y)
110
111 def __pow__(self, exponent):
112 return Vector2Ex(self.x ** exponent, self.y ** exponent)

Callers

nothing calls this directly

Calls 1

Vector2ExClass · 0.85

Tested by

no test coverage detected