Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/electronstudio/raylib-python-cffi
/ __pow__
Method
__pow__
examples/extra/vector2_extended.py:111–112 ·
view source on GitHub ↗
(self, exponent)
Source
from the content-addressed store, hash-verified
109
return
Vector2Ex(self.x, self.y)
110
111
def
__pow__(self, exponent):
112
return
Vector2Ex(self.x ** exponent, self.y ** exponent)
113
114
# PyRay mapped vector2 functions
115
Callers
nothing calls this directly
Calls
1
Vector2Ex
Class · 0.85
Tested by
no test coverage detected