Home
last modified time | relevance | path

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

12

/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/
Db2ContactManager.cpp39 b2Fixture* fixtureA = c->GetFixtureA(); in Destroy() local
41 b2Body* bodyA = fixtureA->GetBody(); in Destroy()
111 b2Fixture* fixtureA = c->GetFixtureA(); in Collide() local
115 b2Body* bodyA = fixtureA->GetBody(); in Collide()
131 if (m_contactFilter && m_contactFilter->ShouldCollide(fixtureA, fixtureB) == false) in Collide()
153 int32 proxyIdA = fixtureA->m_proxies[indexA].proxyId; in Collide()
182 b2Fixture* fixtureA = proxyA->fixture; in AddPair() local
188 b2Body* bodyA = fixtureA->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
26 const b2Filter& filterA = fixtureA->GetFilterData(); in ShouldCollide()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/
DContactManager.java67 Fixture fixtureA = proxyA.fixture; in addPair() local
73 Body bodyA = fixtureA.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()
123 fixtureA = c.getFixtureA(); in addPair()
127 bodyA = fixtureA.getBody(); in addPair()
163 if (!fixtureA.isSensor() && !fixtureB.isSensor()) { in addPair()
176 Fixture fixtureA = c.getFixtureA(); 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 b2ChainAndPolygonContact::b2ChainAndPolygonContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fi… 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 b2ChainAndCircleContact::b2ChainAndCircleContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixt… 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
77 b2Shape::Type type1 = fixtureA->GetType(); in Create()
88 return createFcn(fixtureA, indexA, fixtureB, indexB, allocator); in Create()
92 return createFcn(fixtureB, indexB, fixtureA, indexA, allocator); in Create()
105 b2Fixture* fixtureA = contact->m_fixtureA; in Destroy() local
109 fixtureA->IsSensor() == false && in Destroy()
112 fixtureA->GetBody()->SetAwake(true); in Destroy()
116 b2Shape::Type typeA = fixtureA->GetType(); in Destroy()
Db2PolygonContact.h29 static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
33 b2PolygonContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
Db2EdgeAndPolygonContact.h29 static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
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.h29 static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
33 b2EdgeAndCircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
Db2CircleContact.h29 static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
33 b2CircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
Db2ChainAndCircleContact.h29 static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
33 b2ChainAndCircleContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB);
Db2ChainAndPolygonContact.h29 static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
33 b2ChainAndPolygonContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB);
Db2Contact.h49 typedef b2Contact* b2ContactCreateFcn( b2Fixture* fixtureA, int32 indexA,
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.java79 Fixture fixtureA = contact.getFixtureA(); 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
48 Filter filterA = fixtureA.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