Vector3d.Normalize Method

Definition

Overloads

Normalize(Vector3d, Vector3d)

Scale a vector to unit length

Normalize(Vector3d)
Normalize()

Scales the Vector3d to unit length.

Normalize(Vector3d, Vector3d)

Scale a vector to unit length

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

Parameters

vec
Vector3d

The input vector

result
Vector3d

The normalized vector

Normalize(Vector3d)

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

Parameters

vec
Vector3d

Returns

Vector3d

Normalize()

Scales the Vector3d to unit length.

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

Applies to