rotated(by:around:)
Returns a point that results from rotating with a quaternion around the specified point.
Declaration
func rotated(by quaternion: simd_quatd, around pivot: Point3D) -> Point3DParameters
- quaternion:
A point that defines the rotation pivot.
- pivot:
The double-precision quaternion that specifies the rotation.
Return Value
The point that results from rotating with the specified quaternion.