[SDL] Linedrawing
Zedr0n
Zedr0nRE at gmail.com
Sat Jan 5 09:08:42 PST 2008
Norbert Melzer <norbert.melzer <at> gmx.net> writes:
>
> Hi Group!
>
> I have a problem with drawing lines. I googled a bit and found finished
> c-code for a Bresenham-line in the wikipedia, I adopted this code into my
> C++ class (original code is the same, except that that the function is
> embedded in a class and putpixel is now this->putpixel).
Any particular reason you don't want to use openGL? If not, then you
can just use gl functions to draw a line and be done with it :)
More information about the SDL
mailing list