class Fox::FXMat3f
Public Class Methods
Source
SWIGINTERN VALUE _wrap_new_FXMat3f(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_FXMat3f__SWIG_0(nargs, args, self);
}
if (argc == 1) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3f, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FXMat3f__SWIG_1(nargs, args, self);
}
}
if (argc == 1) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXQuatf, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FXMat3f__SWIG_5(nargs, args, self);
}
}
if (argc == 1) {
int _v = 0;
{
int res = SWIG_AsVal_float(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FXMat3f__SWIG_2(nargs, args, self);
}
}
if (argc == 3) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXVec3f, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec3f, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXVec3f, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_FXMat3f__SWIG_4(nargs, args, self);
}
}
}
}
if (argc == 9) {
int _v = 0;
{
int res = SWIG_AsVal_float(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FXMat3f__SWIG_3(nargs, args, self);
}
}
}
}
}
}
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 9, "FXMat3f.new",
" FXMat3f.new()\n"
" FXMat3f.new(FXMat3f const &other)\n"
" FXMat3f.new(FXfloat w)\n"
" FXMat3f.new(FXfloat a00, FXfloat a01, FXfloat a02, FXfloat a10, FXfloat a11, FXfloat a12, FXfloat a20, FXfloat a21, FXfloat a22)\n"
" FXMat3f.new(FXVec3f const &a, FXVec3f const &b, FXVec3f const &c)\n"
" FXMat3f.new(FXQuatf const &quat)\n");
return Qnil;
}
Public Instance Methods
Source
SWIGINTERN VALUE _wrap_FXMat3f___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 = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3f, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXMat3f, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FXMat3f___mul____SWIG_0(nargs, args, self);
}
}
}
if (argc == 2) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3f, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec3f, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FXMat3f___mul____SWIG_2(nargs, args, self);
}
}
}
if (argc == 2) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3f, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXVec2f, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FXMat3f___mul____SWIG_3(nargs, args, self);
}
}
}
if (argc == 2) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3f, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FXMat3f___mul____SWIG_1(nargs, args, self);
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 3, "__mul__",
" FXMat3f __mul__(FXMat3f const &other)\n"
" FXMat3f __mul__(FXfloat x)\n"
" FXVec3f __mul__(FXVec3f const &other)\n"
" FXVec2f __mul__(FXVec2f const &other)\n");
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXMat3f___add__(int argc, VALUE *argv, VALUE self) {
FXMat3f *arg1 = (FXMat3f *) 0 ;
FXMat3f *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
FXMat3f 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_FXMat3f, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3f const *","operator +", 1, self ));
}
arg1 = reinterpret_cast< FXMat3f * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXMat3f, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXMat3f const &","operator +", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXMat3f const &","operator +", 2, argv[0]));
}
arg2 = reinterpret_cast< FXMat3f * >(argp2);
result = FXMat3f_operator_Sa_((FXMat3f const *)arg1,(FXMat3f const &)*arg2);
vresult = SWIG_NewPointerObj((new FXMat3f(result)), SWIGTYPE_p_FXMat3f, SWIG_POINTER_OWN | 0 );
return vresult;
fail:
return Qnil;
}
Add operator.
Source
SWIGINTERN VALUE
_wrap_FXMat3f___sub__(int argc, VALUE *argv, VALUE self) {
FXMat3f *arg1 = (FXMat3f *) 0 ;
FXMat3f *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
FXMat3f 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_FXMat3f, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3f const *","operator -", 1, self ));
}
arg1 = reinterpret_cast< FXMat3f * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXMat3f, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXMat3f const &","operator -", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXMat3f const &","operator -", 2, argv[0]));
}
arg2 = reinterpret_cast< FXMat3f * >(argp2);
result = FXMat3f_operator_Ss_((FXMat3f const *)arg1,(FXMat3f const &)*arg2);
vresult = SWIG_NewPointerObj((new FXMat3f(result)), SWIGTYPE_p_FXMat3f, SWIG_POINTER_OWN | 0 );
return vresult;
fail:
return Qnil;
}
Subtraction operator.
Source
SWIGINTERN VALUE
_wrap_FXMat3f___neg__(int argc, VALUE *argv, VALUE self) {
FXMat3f *arg1 = (FXMat3f *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXMat3f 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_FXMat3f, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3f const *","operator -", 1, self ));
}
arg1 = reinterpret_cast< FXMat3f * >(argp1);
result = FXMat3f_operator_Ss_((FXMat3f const *)arg1);
vresult = SWIG_NewPointerObj((new FXMat3f(result)), SWIGTYPE_p_FXMat3f, SWIG_POINTER_OWN | 0 );
return vresult;
fail:
return Qnil;
}
Subtraction operator.
Source
SWIGINTERN VALUE
_wrap_FXMat3f___div__(int argc, VALUE *argv, VALUE self) {
FXMat3f *arg1 = (FXMat3f *) 0 ;
FXfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
float val2 ;
int ecode2 = 0 ;
FXMat3f 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_FXMat3f, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3f const *","operator /", 1, self ));
}
arg1 = reinterpret_cast< FXMat3f * >(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","operator /", 2, argv[0] ));
}
arg2 = static_cast< FXfloat >(val2);
result = FXMat3f_operator_Sd_((FXMat3f const *)arg1,arg2);
vresult = SWIG_NewPointerObj((new FXMat3f(result)), SWIGTYPE_p_FXMat3f, SWIG_POINTER_OWN | 0 );
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXMat3f___getitem__(int argc, VALUE *argv, VALUE self) {
FXMat3f *arg1 = (FXMat3f *) 0 ;
FXint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXVec3f *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_FXMat3f, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3f const *","__getitem__", 1, self ));
}
arg1 = reinterpret_cast< FXMat3f * >(argp1);
arg2 = NUM2INT(argv[0]);
result = (FXVec3f *) &FXMat3f___getitem__((FXMat3f const *)arg1,arg2);
{
FXVec3f* resultptr = new FXVec3f(*result);
vresult = FXRbGetRubyObj(resultptr, "FXVec3f *");
}
return vresult;
fail:
return Qnil;
}
Element accessor/slicing.
Source
SWIGINTERN VALUE
_wrap_FXMat3f___setitem__(int argc, VALUE *argv, VALUE self) {
FXMat3f *arg1 = (FXMat3f *) 0 ;
FXint arg2 ;
FXVec3d *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
FXVec3f *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_FXMat3f, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3f *","__setitem__", 1, self ));
}
arg1 = reinterpret_cast< FXMat3f * >(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 = (FXVec3f *) &FXMat3f___setitem__(arg1,arg2,(FXVec3d const &)*arg3);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXVec3f, 0 | 0 );
return vresult;
fail:
return Qnil;
}
Element setter/slicing.
Source
SWIGINTERN VALUE
_wrap_FXMat3f_det(int argc, VALUE *argv, VALUE self) {
FXMat3f *arg1 = (FXMat3f *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXfloat 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_FXMat3f, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3f const *","det", 1, self ));
}
arg1 = reinterpret_cast< FXMat3f * >(argp1);
result = (FXfloat)((FXMat3f const *)arg1)->det();
vresult = SWIG_From_float(static_cast< float >(result));
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXMat3f_eye(int argc, VALUE *argv, VALUE self) {
FXMat3f *arg1 = (FXMat3f *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXMat3f *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_FXMat3f, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3f *","eye", 1, self ));
}
arg1 = reinterpret_cast< FXMat3f * >(argp1);
result = (FXMat3f *) &(arg1)->eye();
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXMat3f, 0 | 0 );
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXMat3f_invert(int argc, VALUE *argv, VALUE self) {
FXMat3f *arg1 = (FXMat3f *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXMat3f 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_FXMat3f, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3f const *","invert", 1, self ));
}
arg1 = reinterpret_cast< FXMat3f * >(argp1);
result = ((FXMat3f const *)arg1)->invert();
vresult = SWIG_NewPointerObj((new FXMat3f(result)), SWIGTYPE_p_FXMat3f, SWIG_POINTER_OWN | 0 );
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE _wrap_FXMat3f_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 = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3f, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FXMat3f_rot__SWIG_1(nargs, args, self);
}
}
}
if (argc == 3) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3f, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FXMat3f_rot__SWIG_0(nargs, args, self);
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 4, "FXMat3f.rot",
" FXMat3f FXMat3f.rot(FXfloat c, FXfloat s)\n"
" FXMat3f & FXMat3f.rot(FXfloat phi)\n");
return Qnil;
}
Source
SWIGINTERN VALUE _wrap_FXMat3f_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 = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3f, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FXMat3f_scale__SWIG_1(nargs, args, self);
}
}
}
if (argc == 3) {
int _v = 0;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMat3f, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FXMat3f_scale__SWIG_0(nargs, args, self);
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 4, "FXMat3f.scale",
" FXMat3f FXMat3f.scale(FXfloat sx, FXfloat sy)\n"
" FXMat3f & FXMat3f.scale(FXfloat s)\n");
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXMat3f_trans(int argc, VALUE *argv, VALUE self) {
FXMat3f *arg1 = (FXMat3f *) 0 ;
FXfloat arg2 ;
FXfloat arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
float val2 ;
int ecode2 = 0 ;
float val3 ;
int ecode3 = 0 ;
FXMat3f *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_FXMat3f, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3f *","trans", 1, self ));
}
arg1 = reinterpret_cast< FXMat3f * >(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","trans", 2, argv[0] ));
}
arg2 = static_cast< FXfloat >(val2);
ecode3 = SWIG_AsVal_float(argv[1], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXfloat","trans", 3, argv[1] ));
}
arg3 = static_cast< FXfloat >(val3);
result = (FXMat3f *) &(arg1)->trans(arg2,arg3);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXMat3f, 0 | 0 );
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_FXMat3f_transpose(int argc, VALUE *argv, VALUE self) {
FXMat3f *arg1 = (FXMat3f *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FXMat3f 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_FXMat3f, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMat3f const *","transpose", 1, self ));
}
arg1 = reinterpret_cast< FXMat3f * >(argp1);
result = ((FXMat3f const *)arg1)->transpose();
vresult = SWIG_NewPointerObj((new FXMat3f(result)), SWIGTYPE_p_FXMat3f, SWIG_POINTER_OWN | 0 );
return vresult;
fail:
return Qnil;
}