From: <cry...@us...> - 2006-01-31 01:35:57
|
Update of /cvsroot/crystal/CS/scripts/perl5 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2948/scripts/perl5 Modified Files: cswigpl5.inc Log Message: Automated Swig Perl5 file repair. Index: cswigpl5.inc =================================================================== RCS file: /cvsroot/crystal/CS/scripts/perl5/cswigpl5.inc,v retrieving revision 1.258 retrieving revision 1.259 diff -u -d -r1.258 -r1.259 --- cswigpl5.inc 30 Jan 2006 01:47:21 -0000 1.258 +++ cswigpl5.inc 31 Jan 2006 01:35:46 -0000 1.259 @@ -64706,7 +64706,7 @@ XS(_wrap_iObjectModel_GetRadius) { { iObjectModel *arg1 = (iObjectModel *) 0 ; - csVector3 *arg2 = 0 ; + float *arg2 = 0 ; csVector3 *arg3 = 0 ; int argvi = 0; dXSARGS; @@ -64720,8 +64720,8 @@ } } { - if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_csVector3,0) < 0) { - SWIG_croak("Type error in argument 2 of iObjectModel_GetRadius. Expected _p_csVector3"); + if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_float,0) < 0) { + SWIG_croak("Type error in argument 2 of iObjectModel_GetRadius. Expected _p_float"); } } { @@ -87929,10 +87929,47 @@ } -XS(_wrap_iMeshWrapper_GetRadius) { +XS(_wrap_iMeshWrapper_GetRadius__SWIG_0) { { iMeshWrapper *arg1 = (iMeshWrapper *) 0 ; - csEllipsoid result; + float *arg2 = 0 ; + csVector3 *arg3 = 0 ; + int argvi = 0; + dXSARGS; + + if ((items < 3) || (items > 3)) { + SWIG_croak("Usage: iMeshWrapper_GetRadius(self,rad,cent);"); + } + { + if (SWIG_ConvertPtr(ST(0), (void **) &arg1, SWIGTYPE_p_iMeshWrapper,0) < 0) { + SWIG_croak("Type error in argument 1 of iMeshWrapper_GetRadius. Expected _p_iMeshWrapper"); + } + } + { + if (SWIG_ConvertPtr(ST(1), (void **) &arg2, SWIGTYPE_p_float,0) < 0) { + SWIG_croak("Type error in argument 2 of iMeshWrapper_GetRadius. Expected _p_float"); + } + } + { + if (SWIG_ConvertPtr(ST(2), (void **) &arg3, SWIGTYPE_p_csVector3,0) < 0) { + SWIG_croak("Type error in argument 3 of iMeshWrapper_GetRadius. Expected _p_csVector3"); + } + } + ((iMeshWrapper const *)arg1)->GetRadius(*arg2,*arg3); + + + XSRETURN(argvi); + fail: + ; + } + croak(Nullch); +} + + +XS(_wrap_iMeshWrapper_GetRadius__SWIG_1) { + { + iMeshWrapper *arg1 = (iMeshWrapper *) 0 ; + csSphere result; int argvi = 0; dXSARGS; @@ -87947,9 +87984,9 @@ result = ((iMeshWrapper const *)arg1)->GetRadius(); { - csEllipsoid * resultobj = new csEllipsoid((csEllipsoid &)result); + csSphere * resultobj = new csSphere((csSphere &)result); ST(argvi) = sv_newmortal(); - SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_csEllipsoid, SWIG_SHADOW|SWIG_OWNER); + SWIG_MakePtr(ST(argvi++), (void *) resultobj, SWIGTYPE_p_csSphere, SWIG_SHADOW|SWIG_OWNER); } XSRETURN(argvi); fail: @@ -87959,6 +87996,63 @@ } +XS(_wrap_iMeshWrapper_GetRadius) { + dXSARGS; + + if (items == 1) { + int _v; + { + void *tmp; + if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_iMeshWrapper, 0) == -1) { + _v = 0; + } else { + _v = 1; + } + } + if (_v) { + (*PL_markstack_ptr++);SWIG_CALLXS(_wrap_iMeshWrapper_GetRadius__SWIG_1); return; + } + } + if (items == 3) { + int _v; + { + void *tmp; + if (SWIG_ConvertPtr(ST(0), (void **) &tmp, SWIGTYPE_p_iMeshWrapper, 0) == -1) { + _v = 0; + } else { + _v = 1; + } + } + if (_v) { + { + void *tmp; + if (SWIG_ConvertPtr(ST(1), (void **) &tmp, SWIGTYPE_p_float, 0) == -1) { + _v = 0; + } else { + _v = 1; + } + } + if (_v) { + { + void *tmp; + if (SWIG_ConvertPtr(ST(2), (void **) &tmp, SWIGTYPE_p_csVector3, 0) == -1) { + _v = 0; + } else { + _v = 1; + } + } + if (_v) { + (*PL_markstack_ptr++);SWIG_CALLXS(_wrap_iMeshWrapper_GetRadius__SWIG_0); return; + } + } + } + } + + croak("No matching function for overloaded 'iMeshWrapper_GetRadius'"); + XSRETURN(0); +} + + XS(_wrap_iMeshWrapper_ResetMinMaxRenderDistance) { { iMeshWrapper *arg1 = (iMeshWrapper *) 0 ; |