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

Method reflect

examples/extra/vector2_extended.py:162–164  ·  view source on GitHub ↗
(self, normal_vec2)

Source from the content-addressed store, hash-verified

160 return self.to_Vec2(res)
161
162 def reflect(self, normal_vec2):
163 res = vector2_reflect(self, normal_vec2)
164 return self.to_Vec2(res)
165
166 def rotate(self, angle: float):
167 res = vector2_rotate(self, angle)

Callers 1

Calls 1

to_Vec2Method · 0.95

Tested by

no test coverage detected