PDA

View Full Version : sin and cos in Symbian



miranda2112
03-08-2005, 04:37 PM
Hi,
I am wondering if it is possible for me to use sin and cos in Symbian (Nokia Series 60)? How is it done?
Thanks,
Miranda

gautam
03-09-2005, 01:32 PM
You can use lookup tables for it.

flame
03-10-2005, 08:34 AM
Hi Miranda.

Take a look in the SDK documentation under "TReal". All math functions are described there. If you are doing realtime 3D however (and using those floating point operations a lot), you should consider using table based approach. You can use TReal to initialize that table.

--jani;

miranda2112
03-10-2005, 03:55 PM
Thanks,
I have never used lookup tables before, could you explain to me how to do it?