View Single Post
Re: improving obstacle detection with trigonometry
Old
  (#6)
Austin
Moderator
 
Austin's Avatar
 
Status: Offline
Posts: 403
Join Date: Nov 2003
Default Re: improving obstacle detection with trigonometry - 31-01-2004

PM,
sin, cos, etc. are pretty cpu intensive. There are table lookup methods that are much faster and would work fine here.

For an into, and posssibly some other helpful things check out:
http://docs.mandragor.org/files/Comm....html#fixatan2
http://alleg.sourceforge.net/

or search google for:
"C++ sin table lookup"


Last edited by Austin; 31-01-2004 at 01:57..
  
Reply With Quote