phaser - v4.0.0-rc.4
    Preparing search index...

    Function GetClockwiseDistance

    • Gets the shortest nonnegative angular distance from angle1 to angle2.

      Parameters

      • angle1: number

        The starting angle in radians.

      • angle2: number

        The target angle in radians.

      Returns number