Ejemplo n.º 1
0
 public virtual void sweep(PxBounds3 aabb, PxVec3 unitDir, float maxDist, PxSpatialLocationCallback callback)
 {
     physxPINVOKE.PxSpatialIndex_sweep(swigCPtr, PxBounds3.getCPtr(aabb), PxVec3.getCPtr(unitDir), maxDist, PxSpatialLocationCallback.getCPtr(callback));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public void include(PxBounds3 b)
 {
     physxPINVOKE.PxBounds3_include__SWIG_1(swigCPtr, PxBounds3.getCPtr(b));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public virtual void overlap(PxBounds3 aabb, PxSpatialOverlapCallback callback)
 {
     physxPINVOKE.PxSpatialIndex_overlap(swigCPtr, PxBounds3.getCPtr(aabb), PxSpatialOverlapCallback.getCPtr(callback));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
        public bool isInside(PxBounds3 box)
        {
            bool ret = physxPINVOKE.PxBounds3_isInside(swigCPtr, PxBounds3.getCPtr(box));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public bool intersects1D(PxBounds3 a, SWIGTYPE_p_uint32_t axis)
        {
            bool ret = physxPINVOKE.PxBounds3_intersects1D(swigCPtr, PxBounds3.getCPtr(a), SWIGTYPE_p_uint32_t.getCPtr(axis));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public bool intersects(PxBounds3 b)
        {
            bool ret = physxPINVOKE.PxBounds3_intersects(swigCPtr, PxBounds3.getCPtr(b));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 7
0
        public static PxBounds3 transformFast(PxTransform transform, PxBounds3 bounds)
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxBounds3_transformFast__SWIG_1(PxTransform.getCPtr(transform), PxBounds3.getCPtr(bounds)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 8
0
        public static PxBounds3 transformSafe(PxMat33 matrix, PxBounds3 bounds)
        {
            PxBounds3 ret = new PxBounds3(physxPINVOKE.PxBounds3_transformSafe__SWIG_0(PxMat33.getCPtr(matrix), PxBounds3.getCPtr(bounds)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 9
0
 public virtual void update(SWIGTYPE_p_uint32_t id, PxBounds3 bounds)
 {
     physxPINVOKE.PxSpatialIndex_update(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(id), PxBounds3.getCPtr(bounds));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 10
0
        public virtual SWIGTYPE_p_uint32_t insert(PxSpatialIndexItem item, PxBounds3 bounds)
        {
            SWIGTYPE_p_uint32_t ret = new SWIGTYPE_p_uint32_t(physxPINVOKE.PxSpatialIndex_insert(swigCPtr, PxSpatialIndexItem.getCPtr(item), PxBounds3.getCPtr(bounds)), true);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }