編集

次の方法で共有


Vector2.NormalizeFast Method

Definition

Overloads

NormalizeFast(Vector2, Vector2)

Scale a vector to approximately unit length

NormalizeFast(Vector2)
NormalizeFast()

Scales the Vector2 to approximately unit length.

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

The input vector

result
Vector2

The normalized vector

Applies to

NormalizeFast(Vector2)

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

Parameters

vec
Vector2

Returns

Applies to

NormalizeFast()

Scales the Vector2 to approximately unit length.

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

Applies to