angleTo Method

Return the (Strongly typed) angle from this vector to vectorB.

  • The returned angle is always positive and no larger than 180 degrees (PI radians)
  • The returned angle is "in the plane containing the two vectors"
  • Use planarAngleTo, signedAngleTo, angleToXY to take have angle measured in specific plane.

angleTo(vectorB: Vector3d): Angle

Parameter Type Description
vectorB Vector3d target vector of rotation.

Returns - Angle

Defined in

Last Updated: 13 June, 2024