Clamp the components of the vector between min and max values specified by the given vectors
v = [3, -5] minV = [0, 0] maxV = [2, 2] result = raylib.Vector2Clamp(v, minV, maxV) print result // [2, 0]
There was an error while loading. Please reload this page.