Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/electronstudio/raylib-python-cffi
/ normalize
Method
normalize
examples/extra/vector2_extended.py:158–160 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
156
return
self.to_Vec2(res)
157
158
def
normalize(self):
159
res = vector2_normalize(self)
160
return
self.to_Vec2(res)
161
162
def
reflect(self, normal_vec2):
163
res = vector2_reflect(self, normal_vec2)
Callers
3
vector2_extended.py
File · 0.80
update_keyboard
Method · 0.80
update
Method · 0.80
Calls
1
to_Vec2
Method · 0.95
Tested by
no test coverage detected