getCPtr() static private method

static private getCPtr ( Impulse obj ) : HandleRef
obj Impulse
return System.Runtime.InteropServices.HandleRef
Esempio n. 1
0
 public void applyAImpulse(Impulse impulse)
 {
     BulletSoftBodyPINVOKE.Body_applyAImpulse(swigCPtr, Impulse.getCPtr(impulse));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public void applyImpulse(Impulse impulse, SWIGTYPE_p_btVector3 rpos)
 {
     BulletSoftBodyPINVOKE.Body_applyImpulse(swigCPtr, Impulse.getCPtr(impulse), SWIGTYPE_p_btVector3.getCPtr(rpos));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }