| About Draw Line Algorithm , please! I'm drawing a line by BRESENHAM ALGORITHM.
y = mx+b
But i just know how to draw with 0<m<1
When m>=1, i dont know how to draw it exactly.
Can you show me all the BRESENHAM ALGORITHM with any m.
In addition, When i draw a circle using MID_POINT Algorithm. When we calculate the p as :
p0 = 5/4 - r (r=radius of the circle)
my teacher said that we can reduce it to : p0' = 1-r, it will reject the real number. But why? Why we can use p0' instead of p0? |