Function flattenArc

Convert circular arc into a list of points

void flattenArc(O) (
  ref O output,
  Vec2 center,
  float radius,
  float startAngle,
  float deltaAngle,
  bool endpoints,
  float minDist = 0.7F
);