public void RayCast(b2RayCastCallback callback, b2Vec2 point1, b2Vec2 point2) { Box2dPINVOKE.b2World_RayCast(swigCPtr, b2RayCastCallback.getCPtr(callback), b2Vec2.getCPtr(point1), b2Vec2.getCPtr(point2)); if (Box2dPINVOKE.SWIGPendingException.Pending) { throw Box2dPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(b2RayCastCallback obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }