Vector2Extensions.Wrapped
Extension Method in Vector2Extensions
Declaration
public static Vector2 Wrapped(this Vector2 vector, Vector2 min, Vector2 max)
Description
Wraps the vector to the range [min..max].
Parameters
vector | The vector to wrap. |
min | The minimum value. |
max | The maximum value. |
Returns
Vector2 | A new wrapped vector. |