Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Function normalizeRadians

    • Transform an angle in radians to be bounded within the domain [-PI, PI]

      Parameters

      • radians: number

        An angle in degrees

      Returns number

      The same angle on the range [-PI, PI]