Try to make the shape regular (equiangular and equilateral)

  • Parameters

    • points: Vec2[]

      Points of polygonal chain

    • closed: boolean

      Whether the polygonic chain is closed

    Returns Num