public btQuaternion(btQuaternion rhs) : this(LinearMathPINVOKE.new_btQuaternion__SWIG_1(btQuaternion.getCPtr(rhs)), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
        public btGEN_Link getTail()
        {
            IntPtr     cPtr = LinearMathPINVOKE.btGEN_List_getTail(swigCPtr);
            btGEN_Link ret  = (cPtr == IntPtr.Zero) ? null : new btGEN_Link(cPtr, false);

            return(ret);
        }
        public SWIGTYPE_p_void GetUserPointer()
        {
            IntPtr          cPtr = LinearMathPINVOKE.CProfileNode_GetUserPointer(swigCPtr);
            SWIGTYPE_p_void ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);

            return(ret);
        }
 public btDefaultMotionState(btTransform startTrans) : this(LinearMathPINVOKE.new_btDefaultMotionState__SWIG_1(btTransform.getCPtr(startTrans)), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public btPlane(btVector3 n, float d) : this(LinearMathPINVOKE.new_btPlane__SWIG_0(btVector3.getCPtr(n), d), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public virtual btChunk allocate(uint size, int numElements)
        {
            IntPtr  cPtr = LinearMathPINVOKE.btSerializer_allocate(swigCPtr, size, numElements);
            btChunk ret  = (cPtr == IntPtr.Zero) ? null : new btChunk(cPtr, false);

            return(ret);
        }
 public GrahamVector3(btVector3 org, int orgIndex) : this(LinearMathPINVOKE.new_GrahamVector3(btVector3.getCPtr(org), orgIndex), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static SWIGTYPE_p_void btAlignedAllocInternal(uint size, int alignment)
        {
            IntPtr          cPtr = LinearMathPINVOKE.btAlignedAllocInternal(size, alignment);
            SWIGTYPE_p_void ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);

            return(ret);
        }
 public btAngleCompareFunc(btVector3 anchor) : this(LinearMathPINVOKE.new_btAngleCompareFunc(btVector3.getCPtr(anchor)), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 10
0
        public SWIGTYPE_p_unsigned_char getPoolAddress()
        {
            IntPtr cPtr = LinearMathPINVOKE.btPoolAllocator_getPoolAddress__SWIG_0(swigCPtr);
            SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

            return(ret);
        }
Esempio n. 11
0
        public SWIGTYPE_p_void allocate(int size)
        {
            IntPtr          cPtr = LinearMathPINVOKE.btPoolAllocator_allocate(swigCPtr, size);
            SWIGTYPE_p_void ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);

            return(ret);
        }
Esempio n. 12
0
 public btMatrix3x3(btMatrix3x3 other) : this(LinearMathPINVOKE.new_btMatrix3x3__SWIG_3(btMatrix3x3.getCPtr(other)), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 13
0
 public btMatrix3x3(btQuaternion q) : this(LinearMathPINVOKE.new_btMatrix3x3__SWIG_1(btQuaternion.getCPtr(q)), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public btQuaternion(btVector3 _axis, float _angle) : this(LinearMathPINVOKE.new_btQuaternion__SWIG_3(btVector3.getCPtr(_axis), _angle), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public CProfileNode Get_Child()
        {
            IntPtr       cPtr = LinearMathPINVOKE.CProfileNode_Get_Child(swigCPtr);
            CProfileNode ret  = (cPtr == IntPtr.Zero) ? null : new CProfileNode(cPtr, false);

            return(ret);
        }
        public SWIGTYPE_p_void getPointer()
        {
            IntPtr          cPtr = LinearMathPINVOKE.btHashPtr_getPointer(swigCPtr);
            SWIGTYPE_p_void ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);

            return(ret);
        }
        public virtual SWIGTYPE_p_unsigned_char getBufferPointer()
        {
            IntPtr cPtr = LinearMathPINVOKE.btSerializer_getBufferPointer(swigCPtr);
            SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

            return(ret);
        }
        public SWIGTYPE_p_unsigned_char allocate(uint size)
        {
            IntPtr cPtr = LinearMathPINVOKE.btStackAlloc_allocate(swigCPtr, size);
            SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false);

            return(ret);
        }
        public virtual SWIGTYPE_p_void getUniquePointer(SWIGTYPE_p_void oldPtr)
        {
            IntPtr          cPtr = LinearMathPINVOKE.btSerializer_getUniquePointer(swigCPtr, SWIGTYPE_p_void.getCPtr(oldPtr));
            SWIGTYPE_p_void ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);

            return(ret);
        }
        public btBlock beginBlock()
        {
            IntPtr  cPtr = LinearMathPINVOKE.btStackAlloc_beginBlock(swigCPtr);
            btBlock ret  = (cPtr == IntPtr.Zero) ? null : new btBlock(cPtr, false);

            return(ret);
        }
Esempio n. 21
0
        public static CProfileIterator Get_Iterator()
        {
            IntPtr           cPtr = LinearMathPINVOKE.CProfileManager_Get_Iterator();
            CProfileIterator ret  = (cPtr == IntPtr.Zero) ? null : new CProfileIterator(cPtr, false);

            return(ret);
        }
        public CProfileNode Get_Sub_Node(string name)
        {
            IntPtr       cPtr = LinearMathPINVOKE.CProfileNode_Get_Sub_Node(swigCPtr, name);
            CProfileNode ret  = (cPtr == IntPtr.Zero) ? null : new CProfileNode(cPtr, false);

            return(ret);
        }
Esempio n. 23
0
 public btClock(btClock other) : this(LinearMathPINVOKE.new_btClock__SWIG_1(btClock.getCPtr(other)), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public btTransform(btTransform other) : this(LinearMathPINVOKE.new_btTransform__SWIG_5(btTransform.getCPtr(other)), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public btTransform(btMatrix3x3 b) : this(LinearMathPINVOKE.new_btTransform__SWIG_4(btMatrix3x3.getCPtr(b)), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public btTransform(btQuaternion q) : this(LinearMathPINVOKE.new_btTransform__SWIG_2(btQuaternion.getCPtr(q)), true)
 {
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void mult(btTransform t1, btTransform t2)
 {
     LinearMathPINVOKE.btTransform_mult(swigCPtr, btTransform.getCPtr(t1), btTransform.getCPtr(t2));
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void deSerializeFloat(btTransformFloatData dataIn)
 {
     LinearMathPINVOKE.btTransform_deSerializeFloat(swigCPtr, btTransformFloatData.getCPtr(dataIn));
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setRotation(btQuaternion q)
 {
     LinearMathPINVOKE.btTransform_setRotation(swigCPtr, btQuaternion.getCPtr(q));
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setBasis(btMatrix3x3 basis)
 {
     LinearMathPINVOKE.btTransform_setBasis(swigCPtr, btMatrix3x3.getCPtr(basis));
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }