[ munch ] > >The first thing you need to do is decide whether you really DO need to >normalize the vector in the first place. For instance, if your ultimate >objective were to draw lines from one point to another, or to calculate PWM >duty-cycles (hard to believe that those two are equivalent problems, but they >are), you could simply use the Bresenham algorithm, which requires no >multiplications or divisions, let alone square-roots. [ munch ] >-- >Andrew Warren - fastfwd@ix.netcom.com >Fast Forward Engineering, Vista, California Ok Andy, what is the Bresenham algorithm? --Maurice ---------------------- Maurice Rabb Totem Consulting (312) 281-6003 totem@mcs.com ----------------------