Archived

This topic is now archived and is closed to further replies.

GekkoCube

symbian lacks division and acos.

Recommended Posts

GekkoCube    116
we''re working with the symbian os. it does support hardware division, acos, atan, cos, or sin. how can i find the angle between two vectors with these restrictions? one way is to use a lookup table for the acos angles. a fast approximation is what im looking for. thanks.

Share this post


Link to post
Share on other sites
Sneftel    1788
Lookup tables are the usual way to do trig on platforms that don''t support it natively. Remember to use trig identities (cos(-x) = cos(x)) to cut down on the required size of the table, so you can get greater precision in the same memory footprint.


"Sneftel is correct, if rather vulgar." --Flarelocke

Share this post


Link to post
Share on other sites