[Bf-python] mathutils

models at paposo.com models at paposo.com
Fri Nov 14 22:49:20 CET 2003


In addition to this there needs to be a way for the user to create a vector
and a matrix to pass around to the mathutil funtions don't you think? I was
thinking that they pass 1 list for a vector, and 3 or 4 lists for a matrix
(you probably need a 3x3, and a 4x4 i guess).
Maybe:
myVec = Mathutils.Vector([2,2,2])
my4x4Matrix = Mathutils.Matrix([2,3,4,6],[3,4,5,0],[6,6,8,0],[5,0,4,0])
That way you simply throw these around at the pyfuncs. Like:
my4x4IMat = Mat4Invert(my4x4Matrix)




More information about the Bf-python mailing list