If a line is to be drawn from (0,0) to (4,6) using dda line drawing algorithm the third point to be plotted is
Answers
Answered by
0
Step-by-step explanation:
If slope (m) is less than 1 (m<1) then increment x as x1+1 and calculate y as y1=y1+m
If slope (m) is greater than 1 (m>1) then increment y as y1+1 and calculate x1=x1+1/m
If slope is equal to 1 (m=1) then increment both x and y. x1=x1+1 , y1=y1+1
Similar questions