Contents

init(pitch:yaw:roll:)

Creates the structure with the specified values.

Declaration

init(pitch: Double, yaw: Double, roll: Double)

Parameters

  • pitch:

    The rotation around the x-axis that passes through the controller from side to side.

  • yaw:

    The rotation around the y-axis that runs vertically through the controller.

  • roll:

    The rotation around the z-axis that passes through the controller from its top to bottom.