Function shapeDistancePolys

Returns the distance between two polygons.

  • Parameters

    • pts1: Vec2[]

      The list of points for the first polygon

    • pts2: Vec2[]

      The list of points for the second polygon

    Returns Num

    The distance between the two polygons