Esempio n. 1
0
 public void QueryAABB(b2QueryCallback callback, b2AABB aabb)
 {
     Box2DPINVOKE.b2World_QueryAABB(swigCPtr, b2QueryCallback.getCPtr(callback), b2AABB.getCPtr(aabb));
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 2
0
 internal static HandleRef getCPtr(b2QueryCallback obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }