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"
