Frankly,  the C code is the reason for the slowliness.
In pure 68K assembly you can do 1 pixel in 2 instructions - or even in 1
instruction when using code-modification.

Hint:  compute the X - component only ONCE.   Delta the vectors and store them in
a table.
the code (without setting up the vectors + delta) would look like that:




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to