xp,yp are starting co-ord
dold=F(xp+1,yp+0.5)= . . .
choosen because we want to find out result for next midpoint..
if(d<=0)
dnew=F(xp+2,yp+0.5)
here, why we taken xp+2, what's the reason for that??
dont comment on any other concept of bresenham, i understood whole, but didn't got this
dold=F(xp+1,yp+0.5)= . . .
choosen because we want to find out result for next midpoint..
if(d<=0)
dnew=F(xp+2,yp+0.5)
here, why we taken xp+2, what's the reason for that??
dont comment on any other concept of bresenham, i understood whole, but didn't got this