Content deleted Content added
Line 67:
public:
{
std::vector<Point2d> polygonVertices = candidatePolygon.GetVertices();
for (size_t i = 0; i < clipping.size(); i++)
{
std::vector<Point2d> temp;
Line 114:
int main()
{
////////////////////////
Coordinates2d::ShowWindow("Sutherland-Hodgman Line Clipping");
///////////////////////////////////////////////////////////////
Line 145:
Coordinates2d::Draw(poly2, Yellow);
/////////////////////// Finalize
Coordinates2d::Wait();
return 0;
|