Algorithm Code in c++ using Glut #include<GL/glut.h> #include<math.h> #include<iostream> using namespace std; float x_1,y_1,x_2,y_2; void Line(){ float dy, dx, m , P; dy = y_2 - y_1; dx = x_2 - x_1; m = dy/dx; P = 2*dy - dx...
Markdown supported · ⌘↵ to post
No responses yet.