Hi Joel,

Maybe it was my limited number of loops that didn“t produce a meaningful result. :-) Anyway, your version is so much more readable, and in single calls they are head to head anyway, that I will likely change the function in the next version of AE. Thanks very much for the suggestion.

All the best,

Malte


Hi Malte,

My test with the 2 different versions of the function shows a 25%
faster with the one using atan2 (test with 1000 and 10000 loops, 200
runs)... on a G4/1.67 GHz/RAM 2 Go/Mac OS X 10.4.2. Probably you
loose time with testing x1=>x2... But you are right one loop was less
than one millisecs and may not impair the overall performance.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to