Mathematics - line drawing
Peter Todd email (remove spam text)
-----BEGIN PGP SIGNED MESSAGE-----
On Mon, Jul 23, 2007 at 11:44:10AM +0100, Michael Rigby-Jones wrote:
> Point Google to "Bresenham line algorithm" and you should have more information than you could ever need. e.g.
> This is a simple algorithm that avoids any multiplication or division, so runs quickly on small micros. Bresenham also developed a circle drawing algorithm that might be useful to to you.
I did up an implementation of that algorithm in my Orthographic Cube
project. You can download the C source code at:
The line drawing code is in line.[ch] if I recall.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
In reply to: <BAC9B53D3316E9419514CB5DB2AF275D024796@pai-smx-01.BOOKHAM.ENTERPRISE.PRI>
See also: www.piclist.com/techref/method/math.htm?key=math
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the