Liang–Barsky algorithm: Difference between revisions

Content deleted Content added
m Order in which the argument was asked was different than the order in which the argument was taken by program.
m Order in which the argument was asked was different than the order in which the argument was taken by program
Line 134:
cout << "\nLiang-barsky line clipping";
cout << "\nThe system window outlay is: (0,0) at bottom left and (631, 467) at top right";
cout << "\nEnter the co-ordinates of the window(wxmin, wxmaxwymin, wyminwxmax, wymax):";
float xmin, ymin, xmax, ymax;
cin >> xmin >> ymin >> xmax >> ymax;