Editar

Compartir a través de


Vector3.CalculateAngle Method

Definition

Overloads

CalculateAngle(Vector3, Vector3)

Calculates the angle (in radians) between two vectors.

CalculateAngle(Vector3, Vector3, Single)

CalculateAngle(Vector3, Vector3)

Calculates the angle (in radians) between two vectors.

public static float CalculateAngle (OpenTK.Vector3 first, OpenTK.Vector3 second);
static member CalculateAngle : OpenTK.Vector3 * OpenTK.Vector3 -> single

Parameters

first
Vector3

The first vector.

second
Vector3

The second vector.

Returns

Angle (in radians) between the vectors.

Remarks

Note that the returned angle is never bigger than the constant Pi.

Applies to

CalculateAngle(Vector3, Vector3, Single)

public static void CalculateAngle (ref OpenTK.Vector3 first, ref OpenTK.Vector3 second, out float result);
static member CalculateAngle :  *  *  -> unit

Parameters

first
Vector3
second
Vector3
result
Single

Applies to