Home
last modified time | relevance | path

Searched refs:fixtureB (Results 1 – 25 of 40) sorted by relevance

12

/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/
Db2ContactManager.cpp40 b2Fixture* fixtureB = c->GetFixtureB(); in Destroy() local
42 b2Body* bodyB = fixtureB->GetBody(); in Destroy()
112 b2Fixture* fixtureB = c->GetFixtureB(); in Collide() local
116 b2Body* bodyB = fixtureB->GetBody(); in Collide()
131 if (m_contactFilter && m_contactFilter->ShouldCollide(fixtureA, fixtureB) == false) in Collide()
154 int32 proxyIdB = fixtureB->m_proxies[indexB].proxyId; in Collide()
183 b2Fixture* fixtureB = proxyB->fixture; in AddPair() local
189 b2Body* bodyB = fixtureB->GetBody(); in AddPair()
210 if (fA == fixtureA && fB == fixtureB && iA == indexA && iB == indexB) in AddPair()
216 if (fA == fixtureB && fB == fixtureA && iA == indexB && iB == indexA) in AddPair()
[all …]
Db2WorldCallbacks.cpp24 bool b2ContactFilter::ShouldCollide(b2Fixture* fixtureA, b2Fixture* fixtureB) in ShouldCollide() argument
27 const b2Filter& filterB = fixtureB->GetFilterData(); in ShouldCollide()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/
DContactManager.java68 Fixture fixtureB = proxyB.fixture; in addPair() local
74 Body bodyB = fixtureB.getBody(); in addPair()
92 if (fA == fixtureA && iA == indexA && fB == fixtureB && iB == indexB) { in addPair()
97 if (fA == fixtureB && iA == indexB && fB == fixtureA && iB == indexA) { in addPair()
112 if (m_contactFilter != null && m_contactFilter.shouldCollide(fixtureA, fixtureB) == false) { in addPair()
117 Contact c = pool.popContact(fixtureA, indexA, fixtureB, indexB); in addPair()
124 fixtureB = c.getFixtureB(); in addPair()
128 bodyB = fixtureB.getBody(); in addPair()
163 if (!fixtureA.isSensor() && !fixtureB.isSensor()) { in addPair()
177 Fixture fixtureB = c.getFixtureB(); in destroy() local
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Contacts/
Db2PolygonContact.cpp29 b2Contact* b2PolygonContact::Create(b2Fixture* fixtureA, int32, b2Fixture* fixtureB, int32, b2Block… in Create() argument
32 return new (mem) b2PolygonContact(fixtureA, fixtureB); in Create()
41 b2PolygonContact::b2PolygonContact(b2Fixture* fixtureA, b2Fixture* fixtureB) in b2PolygonContact() argument
42 : b2Contact(fixtureA, 0, fixtureB, 0) in b2PolygonContact()
Db2CircleContact.cpp29 b2Contact* b2CircleContact::Create(b2Fixture* fixtureA, int32, b2Fixture* fixtureB, int32, b2BlockA… in Create() argument
32 return new (mem) b2CircleContact(fixtureA, fixtureB); in Create()
41 b2CircleContact::b2CircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB) in b2CircleContact() argument
42 : b2Contact(fixtureA, 0, fixtureB, 0) in b2CircleContact()
Db2EdgeAndCircleContact.cpp26 b2Contact* b2EdgeAndCircleContact::Create(b2Fixture* fixtureA, int32, b2Fixture* fixtureB, int32, b… in Create() argument
29 return new (mem) b2EdgeAndCircleContact(fixtureA, fixtureB); in Create()
38 b2EdgeAndCircleContact::b2EdgeAndCircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB) in b2EdgeAndCircleContact() argument
39 : b2Contact(fixtureA, 0, fixtureB, 0) in b2EdgeAndCircleContact()
Db2EdgeAndPolygonContact.cpp26 b2Contact* b2EdgeAndPolygonContact::Create(b2Fixture* fixtureA, int32, b2Fixture* fixtureB, int32, … in Create() argument
29 return new (mem) b2EdgeAndPolygonContact(fixtureA, fixtureB); in Create()
38 b2EdgeAndPolygonContact::b2EdgeAndPolygonContact(b2Fixture* fixtureA, b2Fixture* fixtureB) in b2EdgeAndPolygonContact() argument
39 : b2Contact(fixtureA, 0, fixtureB, 0) in b2EdgeAndPolygonContact()
Db2PolygonAndCircleContact.cpp26 b2Contact* b2PolygonAndCircleContact::Create(b2Fixture* fixtureA, int32, b2Fixture* fixtureB, int32… in Create() argument
29 return new (mem) b2PolygonAndCircleContact(fixtureA, fixtureB); in Create()
38 b2PolygonAndCircleContact::b2PolygonAndCircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB) in b2PolygonAndCircleContact() argument
39 : b2Contact(fixtureA, 0, fixtureB, 0) in b2PolygonAndCircleContact()
Db2ChainAndPolygonContact.cpp28 b2Contact* b2ChainAndPolygonContact::Create(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB,… in Create() argument
31 return new (mem) b2ChainAndPolygonContact(fixtureA, indexA, fixtureB, indexB); in Create()
40 …act::b2ChainAndPolygonContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB) in b2ChainAndPolygonContact() argument
41 : b2Contact(fixtureA, indexA, fixtureB, indexB) in b2ChainAndPolygonContact()
Db2ChainAndCircleContact.cpp28 b2Contact* b2ChainAndCircleContact::Create(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, … in Create() argument
31 return new (mem) b2ChainAndCircleContact(fixtureA, indexA, fixtureB, indexB); in Create()
40 …tact::b2ChainAndCircleContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB) in b2ChainAndCircleContact() argument
41 : b2Contact(fixtureA, indexA, fixtureB, indexB) in b2ChainAndCircleContact()
Db2Contact.cpp69 b2Contact* b2Contact::Create(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB, … in Create() argument
78 b2Shape::Type type2 = fixtureB->GetType(); in Create()
88 return createFcn(fixtureA, indexA, fixtureB, indexB, allocator); in Create()
92 return createFcn(fixtureB, indexB, fixtureA, indexA, allocator); in Create()
106 b2Fixture* fixtureB = contact->m_fixtureB; in Destroy() local
110 fixtureB->IsSensor() == false) in Destroy()
113 fixtureB->GetBody()->SetAwake(true); in Destroy()
117 b2Shape::Type typeB = fixtureB->GetType(); in Destroy()
Db2PolygonContact.h30 b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
33 b2PolygonContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
Db2EdgeAndPolygonContact.h30 b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
33 b2EdgeAndPolygonContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
Db2PolygonAndCircleContact.h29 …static b2Contact* Create(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB, b2B…
32 b2PolygonAndCircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
Db2EdgeAndCircleContact.h30 b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
33 b2EdgeAndCircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
Db2CircleContact.h30 b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
33 b2CircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
Db2ChainAndCircleContact.h30 b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
33 b2ChainAndCircleContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB);
Db2ChainAndPolygonContact.h30 b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
33 b2ChainAndPolygonContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB);
Db2Contact.h50 b2Fixture* fixtureB, int32 indexB,
182 …static b2Contact* Create(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB, b2B…
187 b2Contact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB);
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/
DOneSidedPlatform.java96 public boolean shouldCollide (Fixture fixtureA, Fixture fixtureB) { in createWorld()
97 …if ((fixtureA == m_platform && fixtureB == m_character) || (fixtureB == m_platform && fixtureA == … in createWorld()
DConveyorBelt.java80 Fixture fixtureB = contact.getFixtureB(); in preSolve() local
82 if (fixtureA == m_platform || fixtureB == m_platform) { in preSolve()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/callbacks/
DContactFilter.java47 public boolean shouldCollide(Fixture fixtureA, Fixture fixtureB){ in shouldCollide() argument
49 Filter filterB = fixtureB.getFilterData(); in shouldCollide()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/contacts/
DPolygonContact.java39 public void init(Fixture fixtureA, Fixture fixtureB) { in init() argument
40 super.init(fixtureA, 0, fixtureB, 0); in init()
DCircleContact.java39 public void init(Fixture fixtureA, Fixture fixtureB) { in init() argument
40 super.init(fixtureA, 0, fixtureB, 0); in init()
DPolygonAndCircleContact.java40 public void init(Fixture fixtureA, Fixture fixtureB) { in init() argument
41 super.init(fixtureA, 0, fixtureB, 0); in init()

12