private ChainAndCircleContact(Fixture fixtureA, int indexA, Fixture fixtureB, int indexB) : base(
         fixtureA,
         indexA,
         fixtureB,
         indexB)
 {
     Debug.Assert(FixtureA.GetShapeType() == ShapeType.Chain);
     Debug.Assert(FixtureB.GetShapeType() == ShapeType.Circle);
 }
 private EdgeAndPolygonContact(Fixture fixtureA, Fixture fixtureB) : base(fixtureA, 0, fixtureB, 0)
 {
     Debug.Assert(FixtureA.GetShapeType() == ShapeType.Edge);
     Debug.Assert(FixtureB.GetShapeType() == ShapeType.Polygon);
 }
示例#3
0
 private PolygonAndCircleContact(Fixture fixtureA, Fixture fixtureB) : base(fixtureA, 0, fixtureB, 0)
 {
     Debug.Assert(FixtureA.GetShapeType() == ShapeType.Polygon);
     Debug.Assert(FixtureB.GetShapeType() == ShapeType.Circle);
 }