Mac Guides | Samples

MonoMac.OpenGL.Vector3d.CalculateAngle Method

Calculates the angle (in radians) between two vectors.

Syntax

public static Double CalculateAngle (Vector3d first, Vector3d second)

Parameters

first
The first vector.
second
The second vector.

Returns

Angle (in radians) between the vectors.

Remarks

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

Requirements

Namespace: MonoMac.OpenGL
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0