Thank you, Samuel, at least it works now. First time hearing "AFAIK", ha!
On Thu, Aug 13, 2009 at 5:26 PM, Samuel Degrande <[email protected]>wrote: > On 13/08/2009 11:17, Jianchun Zhou wrote: > >> Hello, guys: >> >> In version 1.0 I found some functions and maros were gone, like: >> >> clutter_sini >> clutter_cosi >> CFX_MUL >> >> Any idea where they are? >> >> Thanks a million! >> >> -- >> Best Regards >> > > As far as I know, the Fixed Point API was removed, and clutter now use > floating point values internally. > > So, once again AFAIK, you juste have to replace, for example : > > "clutter_sini(v*512)" by "sin(v*M_PI)" and so on... > "CFX_MUL(a, b)" by "a * b" > > you can also remove any float <-> fixed point conversions. > > This is at least what I did on the clutter toys to adapt them > to 1.0 API. > > I let clutter core developers to correct me if I'm wrong... > > -- > Samuel Degrande LIFL - UMR8022 CNRS - INRIA Futurs - Bat M3 > Phone: (33)3.28.77.85.30 USTL - Universite de Lille 1 > (33)3.62.53.15.70 59655 VILLENEUVE D'ASCQ CEDEX - FRANCE > [CA certs: http://igc.services.cnrs.fr/CNRS-Standard/recherche.html ] > -- Best Regards
