[Bf-python] (no subject)
joeedh
joeeagar at prodigy.net
Sun Feb 20 20:41:01 CET 2005
Gilbert, Joseph wrote:
>Actually it's a good question. I just ran a test on mathutils. Prob is that anglebetweenvecs() uses a internal blender function called saacos() found in arthrib.c. (where most of mathutils gets it's math from)
>
>float saacos(float fac)
>{
> if(fac<= -1.0f) return (float)M_PI;
> else if(fac>=1.0f) return 0.0;
> else return (float)acos(fac);
>}
>
shouldn't that be using acosf, not acos?
joeedh
More information about the Bf-python
mailing list