[Bf-committers] Re: Re: [Bf-blender-cvs] CVS commit:
blender/source/blender/python/api2_2x Mathutils.c
Martin Poirier
theeth at yahoo.com
Mon Oct 10 21:50:41 CEST 2005
--- Brecht Van Lommel <brechtvanlommel at pandora.be>
wrote:
>
> Exactly. There is a saacos ('safe acos') function in
> BLI_arithb.h just for this,
> and it's used all over the sources. acos should
> never be called directly.
>
> Brecht.
The "problem" is that saacos returns a single
precision float whereass python uses double precision
floats, so using acos directly has added precision
(even though the vector's data is in single
precision).
Martin
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
More information about the Bf-committers
mailing list