internal static HandleRef getCPtr(b2FixtureDef obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public b2Fixture CreateFixture(b2FixtureDef def) { IntPtr cPtr = Box2DPINVOKE.b2Body_CreateFixture__SWIG_0(swigCPtr, b2FixtureDef.getCPtr(def)); b2Fixture ret = (cPtr == IntPtr.Zero) ? null : new b2Fixture(cPtr, false); return ret; }