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

Method clamp_value

examples/extra/vector2_extended.py:123–125  ·  view source on GitHub ↗
(self, min_val: float, max_val: float)

Source from the content-addressed store, hash-verified

121 return self.to_Vec2(res)
122
123 def clamp_value(self, min_val: float, max_val: float):
124 res = vector2_clamp_value(self, min_val, max_val)
125 return self.to_Vec2(res)
126
127 def distance(self, vec2):
128 return vector2_distance(self, vec2)

Callers 1

Calls 1

to_Vec2Method · 0.95

Tested by

no test coverage detected