Function shapeDistanceCircles

Return the distance between two circles.

  • Parameters

    • c1: Vec2

      center of first circle

    • r1: Num

      radius of first circle

    • c2: Vec2

      center of second circle

    • r2: Num

      radius of second circle

    Returns Num

    The distance between the two circles