Bresenham’s Line Drawing Algorithm in C
on October 7, 2008 at 10:35 pmWhile working on a project for graphics, I needed some information on Bresenham’s line drawing algorithm, a.k.a. the midpoint line drawing algorithm, most specifically doing it in C for OpenGL. There was pretty much little or bad information out there or it was some parts making sense, others not. Here is my rendition of the algorithm:
http://crackinwise.pastebin.com/f65383521
This is a C-language version of the code that uses OpenGL points to draw the line. This is just the line drawing algorithm, so if you want to use this in any sort of OpenGL application, you will need to write the rest of your own OGL application.
Good stuff.










January 13th, 2011 at 12:29 am
nice
January 13th, 2011 at 12:29 am
nice hlping me
October 25th, 2011 at 1:01 am
very bad..no code
January 1st, 2012 at 6:31 am
lesbians in jizz coed sex video free ebony porn site reviews swingers sex party cast leo man in sex and love sex before psa test ass chat program suck yahoo shaved porn videos knightley hentai bowling pin ass brittany spears sex tape free fleshbot percent of men look at porn nude schoolgirl porn gangbang black porn daily porn games sex stories charity auction hummer zahopoulos sex video east lothian sex free adult pics sex en language live sex