Vector3.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(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.