Vector2.NormalizeFast Vector2.NormalizeFast Method

Definition

Overloads

NormalizeFast(Vector2, Vector2) NormalizeFast(Vector2, Vector2)

Scale a vector to approximately unit length

NormalizeFast(Vector2) NormalizeFast(Vector2)
NormalizeFast() NormalizeFast()

Scales the Vector2 to approximately unit length.

NormalizeFast(Vector2, Vector2) NormalizeFast(Vector2, Vector2)

Scale a vector to approximately unit length

public static void NormalizeFast (ref OpenTK.Vector2 vec, out OpenTK.Vector2 result);
static member NormalizeFast :  *  -> unit

Parameters

vec
Vector2 Vector2

The input vector

result
Vector2 Vector2

The normalized vector

NormalizeFast(Vector2) NormalizeFast(Vector2)

public static OpenTK.Vector2 NormalizeFast (OpenTK.Vector2 vec);
static member NormalizeFast : OpenTK.Vector2 -> OpenTK.Vector2

Parameters

Returns

NormalizeFast() NormalizeFast()

Scales the Vector2 to approximately unit length.

public void NormalizeFast ();
member this.NormalizeFast : unit -> unit

Applies to