math docs
    Preparing search index...

    Function angleTo

    • Returns the smallest angle (in radians) between two polar directions, ignoring r. Range [0, pi].

      Parameters

      • a: readonly [number, number]

        the first Polar

      • b: readonly [number, number]

        the second Polar

      Returns number

      angle in radians in [0, pi]