public override b2Shape Clone(b2BlockAllocator allocator) { IntPtr cPtr = Box2DPINVOKE.b2CircleShape_Clone(swigCPtr, b2BlockAllocator.getCPtr(allocator)); b2Shape ret = (cPtr == IntPtr.Zero) ? null : new b2Shape(cPtr, false); return ret; }
internal static HandleRef getCPtr(b2BlockAllocator obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }