rotated(by:)
Returns the vector rotated by the specified rotation around the origin.
Declaration
func rotated(by rotation: Rotation3D) -> Vector3DParameters
- rotation:
The rotation.
Discussion
Returns The rotated vector.
Returns the vector rotated by the specified rotation around the origin.
func rotated(by rotation: Rotation3D) -> Vector3DThe rotation.
Returns The rotated vector.