[Bf-committers] Scale from Matrix

Campbell Barton cbarton at metavr.com
Sat May 6 07:11:06 CEST 2006

Hey All,
have a problem, sound simple but cant find a soltion.

I need to get the scale value of a matrix.
arithb.c's  Mat4ToSize  works but the returned scale is never negative, 
so at the moment, I cant tell if a the model is flipped by it matrix.

Obviously its in blender somewhere, bacause the SizeX: value can be 

Anyone know how to do this?
- Cam

Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241

More information about the Bf-committers mailing list