Vector3IntExtensions.Wrap
Extension Method in Vector3IntExtensions
Declaration
public static void Wrap(this ref Vector3Int vector, Vector3Int min, Vector3Int max)
Description
Wraps the vector to the range [min..max].
Parameters
vector | The vector to wrap. |
min | The minimum value. |
max | The maximum value. |