[Bf-python] (no subject)
Gilbert, Joseph
jgilbert at tigr.org
Mon Feb 21 00:48:55 CET 2005
Hehe yes prob. That would make more sense that a cast the (float)acos().
-----Original Message-----
From: bf-python-bounces at projects.blender.org
[mailto:bf-python-bounces at projects.blender.org] On Behalf Of joeedh
Sent: Sunday, February 20, 2005 2:41 PM
To: Blender Foundation Python list
Subject: Re: [Bf-python] (no subject)
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
_______________________________________________
Bf-python mailing list
Bf-python at projects.blender.org
http://projects.blender.org/mailman/listinfo/bf-python
More information about the Bf-python
mailing list