Contents

rotate(by:)

Rotates the entity rotated by the specified quaternion around the origin.

Declaration

mutating func rotate(by quaternion: Self.Quaternion)

Parameters

  • quaternion:

    The quaternion that defines the rotation.