Vector3d.CalculateAngle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CalculateAngle(Vector3d, Vector3d) |
Calculates the angle (in radians) between two vectors. |
CalculateAngle(Vector3d, Vector3d, Double) |
CalculateAngle(Vector3d, Vector3d)
Calculates the angle (in radians) between two vectors.
public static double CalculateAngle (OpenTK.Vector3d first, OpenTK.Vector3d second);
static member CalculateAngle : OpenTK.Vector3d * OpenTK.Vector3d -> double
Parameters
- first
- Vector3d
The first vector.
- second
- Vector3d
The second vector.
Returns
Angle (in radians) between the vectors.
Remarks
Note that the returned angle is never bigger than the constant Pi.