class Fox::FXMat3d

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE _wrap_new_FXMat3d(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[9];
  int ii;
  
  argc = nargs;
  if (argc > 9) SWIG_fail;
  for (ii = 0; (ii < argc); ++ii) {
    argv[ii] = args[ii];
  }
  if (argc == 0) {
    return _wrap_new_FXMat3d__SWIG_0(nargs, args, self);
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3d, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_FXMat3d__SWIG_1(nargs, args, self);
    }
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXQuatd, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_new_FXMat3d__SWIG_5(nargs, args, self);
    }
  }
  if (argc == 1) {
    int _v;
    {
      int res = SWIG_AsVal_double(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      return _wrap_new_FXMat3d__SWIG_2(nargs, args, self);
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXVec3d, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec3d, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXVec3d, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          return _wrap_new_FXMat3d__SWIG_4(nargs, args, self);
        }
      }
    }
  }
  if (argc == 9) {
    int _v;
    {
      int res = SWIG_AsVal_double(argv[0], NULL);
      _v = SWIG_CheckState(res);
    }
    if (_v) {
      {
        int res = SWIG_AsVal_double(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_double(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_double(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            {
              int res = SWIG_AsVal_double(argv[4], NULL);
              _v = SWIG_CheckState(res);
            }
            if (_v) {
              {
                int res = SWIG_AsVal_double(argv[5], NULL);
                _v = SWIG_CheckState(res);
              }
              if (_v) {
                {
                  int res = SWIG_AsVal_double(argv[6], NULL);
                  _v = SWIG_CheckState(res);
                }
                if (_v) {
                  {
                    int res = SWIG_AsVal_double(argv[7], NULL);
                    _v = SWIG_CheckState(res);
                  }
                  if (_v) {
                    {
                      int res = SWIG_AsVal_double(argv[8], NULL);
                      _v = SWIG_CheckState(res);
                    }
                    if (_v) {
                      return _wrap_new_FXMat3d__SWIG_3(nargs, args, self);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 9, "FXMat3d.new", 
    "    FXMat3d.new()\n"
    "    FXMat3d.new(FXMat3d const &other)\n"
    "    FXMat3d.new(FXdouble w)\n"
    "    FXMat3d.new(FXdouble a00, FXdouble a01, FXdouble a02, FXdouble a10, FXdouble a11, FXdouble a12, FXdouble a20, FXdouble a21, FXdouble a22)\n"
    "    FXMat3d.new(FXVec3d const &a, FXVec3d const &b, FXVec3d const &c)\n"
    "    FXMat3d.new(FXQuatd const &quat)\n");
  
  return Qnil;
}

Public Instance Methods

*(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXMat3d___mul__(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3d, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXMat3d, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXMat3d___mul____SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3d, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec3d, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXMat3d___mul____SWIG_2(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3d, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec2d, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXMat3d___mul____SWIG_3(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3d, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_double(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_FXMat3d___mul____SWIG_1(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "__mul__", 
    "    FXMat3d __mul__(FXMat3d const &other)\n"
    "    FXMat3d __mul__(FXdouble x)\n"
    "    FXVec3d __mul__(FXVec3d const &other)\n"
    "    FXVec2d __mul__(FXVec2d const &other)\n");
  
  return Qnil;
}
+(other) → FXMat3d click to toggle source

Add operator.

SWIGINTERN VALUE
_wrap_FXMat3d___add__(int argc, VALUE *argv, VALUE self) {
  FXMat3d *arg1 = (FXMat3d *) 0 ;
  FXMat3d *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  FXMat3d result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMat3d, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3d const *","operator +", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMat3d * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXMat3d,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXMat3d const &","operator +", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXMat3d const &","operator +", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXMat3d * >(argp2);
  result = FXMat3d_operator_Sa_((FXMat3d const *)arg1,(FXMat3d const &)*arg2);
  vresult = SWIG_NewPointerObj((new FXMat3d(static_cast< const FXMat3d& >(result))), SWIGTYPE_p_FXMat3d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
-(other) → FXMat3d click to toggle source

Substraction operator.

SWIGINTERN VALUE
_wrap_FXMat3d___sub__(int argc, VALUE *argv, VALUE self) {
  FXMat3d *arg1 = (FXMat3d *) 0 ;
  FXMat3d *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  FXMat3d result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMat3d, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3d const *","operator -", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMat3d * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXMat3d,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXMat3d const &","operator -", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXMat3d const &","operator -", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXMat3d * >(argp2);
  result = FXMat3d_operator_Ss_((FXMat3d const *)arg1,(FXMat3d const &)*arg2);
  vresult = SWIG_NewPointerObj((new FXMat3d(static_cast< const FXMat3d& >(result))), SWIGTYPE_p_FXMat3d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
-@ → FXMat3d click to toggle source

Substraction operator.

SWIGINTERN VALUE
_wrap_FXMat3d___neg__(int argc, VALUE *argv, VALUE self) {
  FXMat3d *arg1 = (FXMat3d *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXMat3d result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMat3d, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3d const *","operator -", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMat3d * >(argp1);
  result = FXMat3d_operator_Ss_((FXMat3d const *)arg1);
  vresult = SWIG_NewPointerObj((new FXMat3d(static_cast< const FXMat3d& >(result))), SWIGTYPE_p_FXMat3d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
/(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMat3d___div__(int argc, VALUE *argv, VALUE self) {
  FXMat3d *arg1 = (FXMat3d *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  FXMat3d result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMat3d, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3d const *","operator /", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMat3d * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","operator /", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  result = FXMat3d_operator_Sd_((FXMat3d const *)arg1,arg2);
  vresult = SWIG_NewPointerObj((new FXMat3d(static_cast< const FXMat3d& >(result))), SWIGTYPE_p_FXMat3d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
[](i) → FXVec3d click to toggle source

Element accessor/slicing.

SWIGINTERN VALUE
_wrap_FXMat3d___getitem__(int argc, VALUE *argv, VALUE self) {
  FXMat3d *arg1 = (FXMat3d *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVec3d *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMat3d, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3d const *","__getitem__", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMat3d * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXVec3d *) &FXMat3d___getitem__((FXMat3d const *)arg1,arg2);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXVec3d, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
[]=(i, other) → FXVec3d click to toggle source

Element setter/slicing.

SWIGINTERN VALUE
_wrap_FXMat3d___setitem__(int argc, VALUE *argv, VALUE self) {
  FXMat3d *arg1 = (FXMat3d *) 0 ;
  FXint arg2 ;
  FXVec3d *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  FXVec3d *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMat3d, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3d *","__setitem__", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMat3d * >(argp1);
  arg2 = NUM2INT(argv[0]);
  res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FXVec3d,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXVec3d const &","__setitem__", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXVec3d const &","__setitem__", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXVec3d * >(argp3);
  result = (FXVec3d *) &FXMat3d___setitem__(arg1,arg2,(FXVec3d const &)*arg3);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXVec3d, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
det(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMat3d_det(int argc, VALUE *argv, VALUE self) {
  FXMat3d *arg1 = (FXMat3d *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMat3d, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3d const *","det", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMat3d * >(argp1);
  result = (FXdouble)((FXMat3d const *)arg1)->det();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
eye(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMat3d_eye(int argc, VALUE *argv, VALUE self) {
  FXMat3d *arg1 = (FXMat3d *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXMat3d *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMat3d, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3d *","eye", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMat3d * >(argp1);
  result = (FXMat3d *) &(arg1)->eye();
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXMat3d, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
invert(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMat3d_invert(int argc, VALUE *argv, VALUE self) {
  FXMat3d *arg1 = (FXMat3d *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXMat3d result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMat3d, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3d const *","invert", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMat3d * >(argp1);
  result = ((FXMat3d const *)arg1)->invert();
  vresult = SWIG_NewPointerObj((new FXMat3d(static_cast< const FXMat3d& >(result))), SWIGTYPE_p_FXMat3d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}
rot(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXMat3d_rot(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[4];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 4) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3d, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_double(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_FXMat3d_rot__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3d, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_double(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_double(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_FXMat3d_rot__SWIG_0(nargs, args, self);
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 4, "FXMat3d.rot", 
    "    FXMat3d FXMat3d.rot(FXdouble c, FXdouble s)\n"
    "    FXMat3d & FXMat3d.rot(FXdouble phi)\n");
  
  return Qnil;
}
scale(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXMat3d_scale(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[4];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 4) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3d, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_double(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        return _wrap_FXMat3d_scale__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3d, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_double(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_double(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_FXMat3d_scale__SWIG_0(nargs, args, self);
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 4, "FXMat3d.scale", 
    "    FXMat3d FXMat3d.scale(FXdouble sx, FXdouble sy)\n"
    "    FXMat3d & FXMat3d.scale(FXdouble s)\n");
  
  return Qnil;
}
trans(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMat3d_trans(int argc, VALUE *argv, VALUE self) {
  FXMat3d *arg1 = (FXMat3d *) 0 ;
  FXdouble arg2 ;
  FXdouble arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  FXMat3d *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMat3d, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3d *","trans", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMat3d * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","trans", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  ecode3 = SWIG_AsVal_double(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXdouble","trans", 3, argv[1] ));
  } 
  arg3 = static_cast< FXdouble >(val3);
  result = (FXMat3d *) &(arg1)->trans(arg2,arg3);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXMat3d, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}
transpose(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMat3d_transpose(int argc, VALUE *argv, VALUE self) {
  FXMat3d *arg1 = (FXMat3d *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXMat3d result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMat3d, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3d const *","transpose", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMat3d * >(argp1);
  result = ((FXMat3d const *)arg1)->transpose();
  vresult = SWIG_NewPointerObj((new FXMat3d(static_cast< const FXMat3d& >(result))), SWIGTYPE_p_FXMat3d, SWIG_POINTER_OWN |  0 );
  return vresult;
fail:
  return Qnil;
}