MCPcopy 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

update_keyboardMethod · 0.80
updateMethod · 0.80

Calls 1

to_Vec2Method · 0.95

Tested by

no test coverage detected