0 Replies - 551 Views - Last Post: 10 February 2013 - 05:10 AM Rate Topic: **--- 1 Votes

#1 NitinJotwani  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 28-September 12

why we choose the next to next midpoint for dnew in bresenham line alg

Posted 10 February 2013 - 05:10 AM

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
Is This A Good Question/Topic? 0
  • +

Page 1 of 1