예제 #1
0
파일: b2World.cs 프로젝트: vanoseva/Box2DCS
 public void SetDebugDraw(b2Draw debugDraw)
 {
     Box2DPINVOKE.b2World_SetDebugDraw(swigCPtr, b2Draw.getCPtr(debugDraw));
 }
예제 #2
0
파일: b2Draw.cs 프로젝트: vanoseva/Box2DCS
 internal static HandleRef getCPtr(b2Draw obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }