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

Method distance

examples/extra/vector2_extended.py:127–128  ·  view source on GitHub ↗
(self, vec2)

Source from the content-addressed store, hash-verified

125 return self.to_Vec2(res)
126
127 def distance(self, vec2):
128 return vector2_distance(self, vec2)
129
130 def distance_sqr(self, vec2) -> float:
131 return vector2_distance_sqr(self, vec2)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected