Example #1
0
 public btTranslationalLimitMotor(btTranslationalLimitMotor other) : this(BulletPINVOKE.new_btTranslationalLimitMotor__SWIG_1(btTranslationalLimitMotor.getCPtr(other)), true)
 {
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
        public btTranslationalLimitMotor getTranslationalLimitMotor()
        {
            global::System.IntPtr     cPtr = BulletPINVOKE.btGeneric6DofConstraint_getTranslationalLimitMotor(swigCPtr);
            btTranslationalLimitMotor ret  = (cPtr == global::System.IntPtr.Zero) ? null : new btTranslationalLimitMotor(cPtr, false);

            return(ret);
        }
Example #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btTranslationalLimitMotor obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }