rotated(by:around:)
Declaration
func rotated(by quaternion: simd_quatf, around pivot: Point3DFloat) -> Rect3DFloatParameters
- quaternion:
The quaternion that defines the rotation.
- pivot:
The center of rotation.
Return Value
A point that’s rotated by the specified rotation.
Discussion
Returns a rectangle that’s rotated by a quaternion around a specified pivot.