|
From: Patrick H. <pat...@us...> - 2004-07-12 13:53:43
|
patrickh 2004/07/12 06:53:37 PDT
Modified files:
modules/GMTL/python/src gmtl-getData-wrappers.h
modules/GMTL/python/src/gmtl _Matrix_float_3_3.cpp
_Matrix_float_4_4.cpp
Log:
Use lists instead of tuples for returning a gmtl::Matrix<T, R, C> as a
sequence. The arity of Boost.Python tuples is determined at compile time
(the default maximum size is 10), but lists of any size can be constructed.
I wish I had realized this much, much sooner.
Revision Changes Path
1.3 +28 -20 GGT/modules/GMTL/python/src/gmtl-getData-wrappers.h
1.4 +6 -5 GGT/modules/GMTL/python/src/gmtl/_Matrix_float_3_3.cpp
1.4 +5 -4 GGT/modules/GMTL/python/src/gmtl/_Matrix_float_4_4.cpp
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/python/src/gmtl-getData-wrappers.h.diff?r1=1.2&r2=1.3&diff_format=l
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/python/src/gmtl/_Matrix_float_3_3.cpp.diff?r1=1.3&r2=1.4&diff_format=l
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/python/src/gmtl/_Matrix_float_4_4.cpp.diff?r1=1.3&r2=1.4&diff_format=l
|