EulerAngle

public struct EulerAngle : Equatable

Euler angle type.

All rotations and axis systems follow the right-hand rule. The Euler angles follow the convention of a 3-2-1 intrinsic Tait-Bryan rotation sequence.

For more info see https://en.wikipedia.org/wiki/Euler_angles

  • Undocumented

    Declaration

    Swift

    public let rollDeg: Float
  • Undocumented

    Declaration

    Swift

    public let pitchDeg: Float
  • Undocumented

    Declaration

    Swift

    public let yawDeg: Float
  • Initializes a new EulerAngle.

    Declaration

    Swift

    public init(rollDeg: Float, pitchDeg: Float, yawDeg: Float)

    Parameters

    rollDeg

    Roll angle in degrees, positive is banking to the right

    pitchDeg

    Pitch angle in degrees, positive is pitching nose up

    yawDeg

    Yaw angle in degrees, positive is clock-wise seen from above

  • Declaration

    Swift

    public static func == (lhs: EulerAngle, rhs: EulerAngle) -> Bool