Beispiel #1
0
 internal static HandleRef getCPtr(SWIGTYPE_p_void obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #2
0
 public void SetUserData(SWIGTYPE_p_void data)
 {
     Box2DPINVOKE.b2Joint_SetUserData(swigCPtr, SWIGTYPE_p_void.getCPtr(data));
 }
Beispiel #3
0
 public void Free(SWIGTYPE_p_void p, int size)
 {
     Box2DPINVOKE.b2BlockAllocator_Free(swigCPtr, SWIGTYPE_p_void.getCPtr(p), size);
 }
Beispiel #4
0
 public void Free(SWIGTYPE_p_void p)
 {
     Box2DPINVOKE.b2StackAllocator_Free(swigCPtr, SWIGTYPE_p_void.getCPtr(p));
 }
Beispiel #5
0
 public void AddPair(SWIGTYPE_p_void proxyUserDataA, SWIGTYPE_p_void proxyUserDataB)
 {
     Box2DPINVOKE.b2ContactManager_AddPair(swigCPtr, SWIGTYPE_p_void.getCPtr(proxyUserDataA), SWIGTYPE_p_void.getCPtr(proxyUserDataB));
 }
Beispiel #6
0
 public int CreateProxy(b2AABB aabb, SWIGTYPE_p_void userData)
 {
     int ret = Box2DPINVOKE.b2DynamicTree_CreateProxy(swigCPtr, b2AABB.getCPtr(aabb), SWIGTYPE_p_void.getCPtr(userData));
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Beispiel #7
0
 public static void b2Free(SWIGTYPE_p_void mem)
 {
     Box2DPINVOKE.b2Free(SWIGTYPE_p_void.getCPtr(mem));
 }