grahan — the open-source sky engine
    Preparing search index...

    Function wrap180

    • Reduce an angle in degrees to the range (-180, 180], the signed distance from zero. Useful for "how far past the target" corrections.

      Parameters

      • degrees: number

      Returns number

      wrap180(350); // -10