Beispiel #1
0
 public virtual bool ShouldCollide(b2Fixture fixtureA, b2Fixture fixtureB)
 {
     bool ret = Box2DPINVOKE.b2ContactFilter_ShouldCollide(swigCPtr, b2Fixture.getCPtr(fixtureA), b2Fixture.getCPtr(fixtureB));
     return ret;
 }
Beispiel #2
0
 public virtual bool ReportFixture(b2Fixture fixture)
 {
     bool ret = Box2DPINVOKE.b2QueryCallback_ReportFixture(swigCPtr, b2Fixture.getCPtr(fixture));
     return ret;
 }
Beispiel #3
0
 public void DestroyFixture(b2Fixture fixture)
 {
     Box2DPINVOKE.b2Body_DestroyFixture(swigCPtr, b2Fixture.getCPtr(fixture));
 }
Beispiel #4
0
 internal static HandleRef getCPtr(b2Fixture obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public virtual void SayGoodbye(b2Fixture fixture)
 {
     Box2DPINVOKE.b2DestructionListener_SayGoodbye__SWIG_1(swigCPtr, b2Fixture.getCPtr(fixture));
 }
Beispiel #6
0
 public virtual float ReportFixture(b2Fixture fixture, b2Vec2 point, b2Vec2 normal, float fraction)
 {
     float ret = Box2DPINVOKE.b2RayCastCallback_ReportFixture(swigCPtr, b2Fixture.getCPtr(fixture), b2Vec2.getCPtr(point), b2Vec2.getCPtr(normal), fraction);
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }