Пример #1
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();
     }
 }
Пример #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxSpatialOverlapCallback obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }