[Bf-python] New Mathutils and old Math - Letter rip.

Stephen Swaney sswaney at centurytel.net
Sat Oct 1 15:09:41 CEST 2005


On Tue, Sep 27, 2005 at 11:06:47PM -1000, Tom M wrote:
> Possibly related - the value returned by my function
> 
> getScaleFactor gives different results for the x dimension, so
> possibly whatever functions getBoundBox() relies on has changed.
> 
> Here is the value printed in 2.37a
> [2.0000009536743164, 2.0000009536743164, 2.0]
> 
> vs
> 
> the value printed in current CVS
> [2.0000008344650269, 2.0000009536743164, 2.0]
> 

These numbers are essentially equal, being the same
out to about 5 decimal places. /me references the
recent discussion of floating poing equality.

Last time we had problems with Scripts vs Mathutils,
it was due to one version of a getSomeMatrix() func
returning a copy of the matrix and another version
returning ( more correctly, IMHO ) a reference to the
matrix.

No idea whether the same problem is at work here,
just thought I'd mention it for brainstorming purposes.

-- 
Stephen Swaney			
sswaney at centurytel.net




More information about the Bf-python mailing list