From: Alexis H. Rivera-R. <ahr...@ya...> - 2005-08-18 20:28:10
|
Hi, Is this is a bug or a feature? ;P >>> import gmtl >>> x = gmtl.Vec3d(gmtl.Point3d(0,0,0) - gmtl.Point3d(1,0,0)) >>> gmtl.length(gmtl.Vec3d(0,l0,10)) Traceback (most recent call last): File "<interactive input>", line 1, in ? ArgumentError: Python argument types in gmtl.length(Vec3d) did not match C++ signature: length(class gmtl::Vec<float,3>) length(class gmtl::Vec<float,4>) length(class gmtl::Quat<double>) length(class gmtl::Quat<float>) Thanks, Alexis Programming Tutorial: In Python: To do this, do this In Perl: To do this, do this or this or this or this... In C: To do this, do this, but be careful In C++: To do this, do this, but don't do this, be careful of this, watch out for this, and whatever you do, don't do this ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs |