rotate(by:)
Rotates the entity by a quaternion.
Declaration
mutating func rotate(by quaternion: simd_quatd)Parameters
- quaternion:
The double-precision quaternion that specifies the rotation.
Rotates the entity by a quaternion.
mutating func rotate(by quaternion: simd_quatd)The double-precision quaternion that specifies the rotation.