|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: GP: Flipping a point across a line: The answer
Eudoxus3 wrote: > > Incidentally, I don't want to use SQRT, DIV, MOD, ARC, SIN, COS, TAN at > all, which my program doesn't, because it MUST be as fast as possible. > Then again, it doen't work perfectly, so I'm losing right now! > On any modern processor these operations are very very fast. Unless you are bouncing an awful lot of balls you won't see any effect from using these operations. Maybe if you tell us more about the application we can help more. There are fast alternatives for these operations on machines that only support integer or fixed point math. But, seriously, on all the PC processors built in the last several years these operations are too fast to worry about in most situations Bob P. > Regards, > > Matt. W. > -- > *** eudoxus@freeuk.com *** http://members.xoom.com/eudoxusM/ > mwebster@apsoft.co.uk > > ================================================================= > To SUBSCRIBE or UNSUBSCRIBE please visit > http://gameprogrammer.com/mailinglist.html ================================================================= To SUBSCRIBE or UNSUBSCRIBE please visit http://gameprogrammer.com/mailinglist.html
|
|