Editar

Compartir a través de


Vector2d.NormalizeFast Method

Definition

Overloads

NormalizeFast(Vector2d)
NormalizeFast(Vector2d, Vector2d)

Scale a vector to approximately unit length

NormalizeFast(Vector2d)

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

Parameters

vec
Vector2d

Returns

Applies to

NormalizeFast(Vector2d, Vector2d)

Scale a vector to approximately unit length

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

Parameters

vec
Vector2d

The input vector

result
Vector2d

The normalized vector

Applies to