piclist 2001\04\02\180453a >
Thread: 16bit/32bit Replacements for PIC16c7xx series.
face BY : James Lee Williams email (remove spam text)

Show me a version of Bresenham line algorithm where there is only one
addition per step.
As I see it, there is at least one addition and two subtractions.
We accumulate the error, that is one addition.
We shift left the error one for multiply by two.
We compare error with deltax which requires a subtraction at minimum.
That is one subtraction.
Based on the comparision, we may subtract deltax from the error and
increment the y axis.  That is two subtractions.



{Original Message removed}
<03A1C3D564C54F41AE049A641BAE0D8A070E60@infoexch01.infoserver.no> quoted-printable

See also: www.piclist.com/techref/microchip/devices.htm?key=16C
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) 16bit/32bit Replacements for PIC16c7xx series.

month overview.

new search...