Edytuj

Udostępnij za pośrednictwem


Vector4d.Clamp Method

Definition

Overloads

Clamp(Vector4d, Vector4d, Vector4d)
Clamp(Vector4d, Vector4d, Vector4d, Vector4d)

Clamp a vector to the given minimum and maximum vectors

Clamp(Vector4d, Vector4d, Vector4d)

public static OpenTK.Vector4d Clamp (OpenTK.Vector4d vec, OpenTK.Vector4d min, OpenTK.Vector4d max);
static member Clamp : OpenTK.Vector4d * OpenTK.Vector4d * OpenTK.Vector4d -> OpenTK.Vector4d

Parameters

vec
Vector4d
min
Vector4d
max
Vector4d

Returns

Applies to

Clamp(Vector4d, Vector4d, Vector4d, Vector4d)

Clamp a vector to the given minimum and maximum vectors

public static void Clamp (ref OpenTK.Vector4d vec, ref OpenTK.Vector4d min, ref OpenTK.Vector4d max, out OpenTK.Vector4d result);
static member Clamp :  *  *  *  -> unit

Parameters

vec
Vector4d

Input vector

min
Vector4d

Minimum vector

max
Vector4d

Maximum vector

result
Vector4d

The clamped vector

Applies to