rotation(to:)
Returns the rotation around the origin from the first point to the second point.
Declaration
func rotation(to other: Point3D) -> Rotation3DParameters
- other:
The second point that the function computes the rotation to.
Return Value
The rotation between two points.