We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › cost of math functions [and hello and good work]
Page Index Toggle Pages: 1
cost of math functions [and hello and good work] (Read 551 times)
cost of math functions [and hello and good work]
Jun 25th, 2005, 12:59am
 
 

Is there a difference in terms of computational cost between trig (sin(), cos())etc functions and other math functions eg sqrt() ?

I am having calculating lots of angles within spheres and wandered the cheapest want the cheapest option.

cheers

alice



[ also hello, and nice one for creating this ... i was about to embark on tackling open GL directly, and someone recomended processing to me ...[ has meant more time for appreciating the almost temperate british sea] ]
Page Index Toggle Pages: 1