編集

次の方法で共有


Vector3.NormalizeFast Method

Definition

Overloads

NormalizeFast()

Scales the Vector3 to approximately unit length.

NormalizeFast(Vector3)
NormalizeFast(Vector3, Vector3)

Scale a vector to approximately unit length

NormalizeFast()

Scales the Vector3 to approximately unit length.

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

Applies to

NormalizeFast(Vector3)

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

Parameters

vec
Vector3

Returns

Applies to

NormalizeFast(Vector3, Vector3)

Scale a vector to approximately unit length

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

Parameters

vec
Vector3

The input vector

result
Vector3

The normalized vector

Applies to