math docs
    Preparing search index...

    Function wrapAngle

    • Wraps an angle (in radians) into the range (-π, π].

      Parameters

      • a: number

        the angle to wrap

      Returns number

      the angle wrapped into (-π, π]