3. DDA Line Drawing Algorithm in C++ using GLUT Basic
DDA Line Drawing Algorithm Given 2 point (x1, y1) to (x2,y2)
```
1. Read Line end point (x1,y1)(x2,y2)
2. ∆x = |x2-x1| , ∆y = |y2-y1|
3. If(∆x ≥ ∆y)
Then Length = ∆x
Else
...
rajkumarpatil.hashnode.dev3 min read