math docs
    Preparing search index...

    Function rotate

    • Rotates a Polar by an angle (in radians), wrapping theta into (-pi, pi].

      Parameters

      • out: polar.Polar

        the receiving Polar

      • a: readonly [number, number]

        the source Polar

      • rad: number

        the angle to add to theta

      Returns polar.Polar

      out