rotate(by:)
Rotates the entity by an angle over an axis.
Declaration
mutating func rotate(by rotation: Rotation3D)Parameters
- rotation:
The rotation structure that defines the rotation’s angle and axis.
Rotates the entity by an angle over an axis.
mutating func rotate(by rotation: Rotation3D)The rotation structure that defines the rotation’s angle and axis.