Exemple #1
0
 public btAlignedObjectArrayVector3(btAlignedObjectArrayVector3 otherArray) : this(BulletSoftBodyPINVOKE.new_btAlignedObjectArrayVector3__SWIG_1(btAlignedObjectArrayVector3.getCPtr(otherArray)), true)
 {
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public void copyFromArray(btAlignedObjectArrayVector3 otherArray)
 {
     BulletSoftBodyPINVOKE.btAlignedObjectArrayVector3_copyFromArray(swigCPtr, btAlignedObjectArrayVector3.getCPtr(otherArray));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static btSoftBody CreateFromConvexHull(btSoftBodyWorldInfo worldInfo, btAlignedObjectArrayVector3 vertices)
        {
            IntPtr     cPtr = BulletSoftBodyPINVOKE.btSoftBodyHelpers_CreateFromConvexHull__SWIG_3(btSoftBodyWorldInfo.getCPtr(worldInfo), btAlignedObjectArrayVector3.getCPtr(vertices));
            btSoftBody ret  = (cPtr == IntPtr.Zero) ? null : new btSoftBody(cPtr, false);

            if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
            {
                throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #4
0
 internal static HandleRef getCPtr(btAlignedObjectArrayVector3 obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public void copyFromArray(btAlignedObjectArrayVector3 otherArray)
 {
     BulletCollisionPINVOKE.btAlignedObjectArrayVector3_copyFromArray(swigCPtr, btAlignedObjectArrayVector3.getCPtr(otherArray));
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
 public btAlignedObjectArrayVector3(btAlignedObjectArrayVector3 otherArray)
     : this(BulletCollisionPINVOKE.new_btAlignedObjectArrayVector3__SWIG_1(btAlignedObjectArrayVector3.getCPtr(otherArray)), true)
 {
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(btAlignedObjectArrayVector3 obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }