angleTo Method

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

  • The returned angle is between 0 and 180 degrees.
  • The returned angle is measured in the plane containing the two vectors.
  • Use planarAngleTo and signedAngleTo to return an angle measured in a specific plane.

angleTo(vectorB: Vector3d): Angle

Parameter Type Description
vectorB Vector3d target vector.

Returns - Angle

Defined in

Last Updated: 20 June, 2023