internal static HandleRef getCPtr(Impulse obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void applyAImpulse(Impulse impulse) { BulletSoftBodyPINVOKE.Body_applyAImpulse(swigCPtr, Impulse.getCPtr(impulse)); if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) { throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve(); } }