John Labenski wrote: > > > Fixed in CVS. It was not translating the typedef. > Thanks, i keep testing. I changed the typedefs, and it looks good sofar. > > > > Should work? See wxPoint2DDouble operators. > After updating wxLua etc., it work fine. > >> //%operator a2dAffineMatrix operator-( const a2dAffineMatrix& a, >> const a2dAffineMatrix& b ) >> Even this one compiles now. Which looks like two operands??
>> //static a2dAffineMatrix Mul( const a2dAffineMatrix &m1, const >> a2dAffineMatrix &m2 ) >> //double& operator()( int col, int row ) >> //%operator double& operator()( int col, int row ) >> //double operator()( int col, int row ) const >> //%operator double operator()( int col, int row ) const >> > > There is no support for 2 params to the operators, I can add this. > Hope you will :-) > >> a2dPoint2D GetTranslation() const >> //%member double m_matrix[3][2] >> > > This would be hard to implement since we'd have to return m_matrix[3] > as an array wrapped in a new userdata type that would allow you to get > to the second [2] dimension. I would provide a safe member function, > with bounds checks so you don't get a segfault with no error message > if you try to access a value out of bounds. > Well this one is not that important. There are member functions to set the matrix. And if operator() is fixed all is fine, and even that i can solve using member functions. Thanks, Klaas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users