#include "Polygon.h" Polygon::Polygon(std::initializer_listls){ points.resize(ls.size()); std::copy(ls.begin(),ls.end(),points.begin()); } void Polygon::DrawPolygon(){ for (int i=0;i