Contents

rotated(by:)

Returns the vector rotated by the specified rotation around the origin.

Declaration

func rotated(by rotation: Rotation3D) -> Vector3D

Parameters

  • rotation:

    The rotation.

Discussion

  • Returns The rotated vector.

See Also

Transforming a vector