COMPUTER-GRAPHICS
Sunday, April 8, 2007
White Guys Dont Like Big
IMPROVED ALGORITHM Void
line (int x, I, x1, y1)
{int y = y0;
flot mint x = x0;
m = (y1-y0) / (x1-x0);
point (x, y), if (m <0) m="m*(-1);
"> do {x = x +1, y = y + m +0.5;
point (x, y);
} while (and! = y1);
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment