Vector3Extensions.Wrapped
Extension Method in Vector3Extensions
Declaration
public static Vector3 Wrapped(this Vector3 vector, Vector3 min, Vector3 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
Vector3 | A new wrapped vector. |