Upravit

Sdílet prostřednictvím


Vector4.Normalize Method

Definition

Overloads

Normalize(Vector4, Vector4)

Scale a vector to unit length

Normalize()

Scales the Vector4 to unit length.

Normalize(Vector4)

Normalize(Vector4, Vector4)

Scale a vector to unit length

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

Parameters

vec
Vector4

The input vector

result
Vector4

The normalized vector

Applies to

Normalize()

Scales the Vector4 to unit length.

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

Applies to

Normalize(Vector4)

public static OpenTK.Vector4 Normalize (OpenTK.Vector4 vec);
static member Normalize : OpenTK.Vector4 -> OpenTK.Vector4

Parameters

vec
Vector4

Returns

Applies to