Vector4Extensions.Wrapped

Extension Method in Vector4Extensions

Declaration

public static Vector4 Wrapped(this Vector4 vector, Vector4 min, Vector4 max)

Description

Wraps the vector to the range [min..max].

Parameters

vectorThe vector to wrap.
minThe minimum value.
maxThe maximum value.

Returns

Vector4A new wrapped vector.