Home
last modified time | relevance | path

Searched refs:bodyA (Results 1 – 25 of 83) sorted by relevance

1234

/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/
Db2ContactManager.cpp41 b2Body* bodyA = fixtureA->GetBody(); in Destroy() local
76 if (&c->m_nodeA == bodyA->m_contactList) in Destroy()
78 bodyA->m_contactList = c->m_nodeA.next; in Destroy()
115 b2Body* bodyA = fixtureA->GetBody(); in Collide() local
122 if (bodyB->ShouldCollide(bodyA) == false) in Collide()
143 bool activeA = bodyA->IsAwake() && bodyA->m_type != b2_staticBody; in Collide()
188 b2Body* bodyA = fixtureA->GetBody(); in AddPair() local
192 if (bodyA == bodyB) in AddPair()
203 if (edge->other == bodyA) in AddPair()
227 if (bodyB->ShouldCollide(bodyA) == false) in AddPair()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/
DContactManager.java73 Body bodyA = fixtureA.getBody(); in addPair() local
77 if (bodyA == bodyB) { in addPair()
86 if (edge.other == bodyA) { in addPair()
107 if (bodyB.shouldCollide(bodyA) == false) { in addPair()
127 bodyA = fixtureA.getBody(); in addPair()
145 c.m_nodeA.next = bodyA.m_contactList; in addPair()
146 if (bodyA.m_contactList != null) { in addPair()
147 bodyA.m_contactList.prev = c.m_nodeA; in addPair()
149 bodyA.m_contactList = c.m_nodeA; in addPair()
153 c.m_nodeB.other = bodyA; in addPair()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/joints/
DPrismaticJointDef.java34 public void initialize (Body bodyA, Body bodyB, Vector2 anchor, Vector2 axis) { in initialize() argument
35 this.bodyA = bodyA; in initialize()
37 localAnchorA.set(bodyA.getLocalPoint(anchor)); in initialize()
39 localAxisA.set(bodyA.getLocalVector(axis)); in initialize()
40 referenceAngle = bodyB.getAngle() - bodyA.getAngle(); in initialize()
77 jd.bodyA = bodyA.body; in toJBox2d()
DRevoluteJointDef.java34 public void initialize (Body bodyA, Body bodyB, Vector2 anchor) { in initialize() argument
35 this.bodyA = bodyA; in initialize()
37 localAnchorA.set(bodyA.getLocalPoint(anchor)); in initialize()
39 referenceAngle = bodyB.getAngle() - bodyA.getAngle(); in initialize()
72 jd.bodyA = bodyA.body; in toJBox2d()
DWheelJointDef.java32 public void initialize (Body bodyA, Body bodyB, Vector2 anchor, Vector2 axis) { in initialize() argument
33 this.bodyA = bodyA; in initialize()
35 localAnchorA.set(bodyA.getLocalPoint(anchor)); in initialize()
37 localAxisA.set(bodyA.getLocalVector(axis)); in initialize()
67 fd.bodyA = bodyA.body; in toJBox2d()
DFrictionJointDef.java31 public void initialize (Body bodyA, Body bodyB, Vector2 anchor) { in initialize() argument
32 this.bodyA = bodyA; in initialize()
34 localAnchorA.set(bodyA.getLocalPoint(anchor)); in initialize()
53 jd.bodyA = bodyA.body; in toJBox2d()
DDistanceJointDef.java33 public void initialize (Body bodyA, Body bodyB, Vector2 anchorA, Vector2 anchorB) { in initialize() argument
34 this.bodyA = bodyA; in initialize()
36 this.localAnchorA.set(bodyA.getLocalPoint(anchorA)); in initialize()
58 fd.bodyA = bodyA.body; in toJBox2d()
DPulleyJointDef.java34 …public void initialize (Body bodyA, Body bodyB, Vector2 groundAnchorA, Vector2 groundAnchorB, Vect… in initialize() argument
36 this.bodyA = bodyA; in initialize()
40 this.localAnchorA.set(bodyA.getLocalPoint(anchorA)); in initialize()
72 jd.bodyA = bodyA.body; in toJBox2d()
DMotorJointDef.java31 this.bodyA = body1; in initialize()
33 this.linearOffset.set(bodyA.getLocalPoint(bodyB.getPosition())); in initialize()
34 this.angularOffset = bodyB.getAngle() - bodyA.getAngle(); in initialize()
55 jd.bodyA = bodyA.body; in toJBox2d()
DWeldJointDef.java31 this.bodyA = body1; in initialize()
56 jd.bodyA = bodyA.body; in toJBox2d()
/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/joints/
DPrismaticJointDef.java34 public void initialize (Body bodyA, Body bodyB, Vector2 anchor, Vector2 axis) { in initialize() argument
35 this.bodyA = bodyA; in initialize()
37 localAnchorA.set(bodyA.getLocalPoint(anchor)); in initialize()
39 localAxisA.set(bodyA.getLocalVector(axis)); in initialize()
40 referenceAngle = bodyB.getAngle() - bodyA.getAngle(); in initialize()
DRevoluteJointDef.java34 public void initialize (Body bodyA, Body bodyB, Vector2 anchor) { in initialize() argument
35 this.bodyA = bodyA; in initialize()
37 localAnchorA.set(bodyA.getLocalPoint(anchor)); in initialize()
39 referenceAngle = bodyB.getAngle() - bodyA.getAngle(); in initialize()
DWheelJointDef.java32 public void initialize (Body bodyA, Body bodyB, Vector2 anchor, Vector2 axis) { in initialize() argument
33 this.bodyA = bodyA; in initialize()
35 localAnchorA.set(bodyA.getLocalPoint(anchor)); in initialize()
37 localAxisA.set(bodyA.getLocalVector(axis)); in initialize()
DFrictionJointDef.java31 public void initialize (Body bodyA, Body bodyB, Vector2 anchor) { in initialize() argument
32 this.bodyA = bodyA; in initialize()
34 localAnchorA.set(bodyA.getLocalPoint(anchor)); in initialize()
DDistanceJointDef.java33 public void initialize (Body bodyA, Body bodyB, Vector2 anchorA, Vector2 anchorB) { in initialize() argument
34 this.bodyA = bodyA; in initialize()
36 this.localAnchorA.set(bodyA.getLocalPoint(anchorA)); in initialize()
DPulleyJointDef.java34 …public void initialize (Body bodyA, Body bodyB, Vector2 groundAnchorA, Vector2 groundAnchorB, Vect… in initialize() argument
36 this.bodyA = bodyA; in initialize()
40 this.localAnchorA.set(bodyA.getLocalPoint(anchorA)); in initialize()
DMotorJointDef.java31 this.bodyA = body1; in initialize()
33 this.linearOffset.set(bodyA.getLocalPoint(bodyB.getPosition())); in initialize()
34 this.angularOffset = bodyB.getAngle() - bodyA.getAngle(); in initialize()
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/
Dcom.badlogic.gdx.physics.box2d.World.cpp248 …_World_jniCreateWheelJoint(JNIEnv* env, jobject object, jlong addr, jlong bodyA, jlong bodyB, jboo… in Java_com_badlogic_gdx_physics_box2d_World_jniCreateWheelJoint() argument
255 def.bodyA = (b2Body*)bodyA; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateWheelJoint()
272 …d_World_jniCreateRopeJoint(JNIEnv* env, jobject object, jlong addr, jlong bodyA, jlong bodyB, jboo… in Java_com_badlogic_gdx_physics_box2d_World_jniCreateRopeJoint() argument
279 def.bodyA = (b2Body*)bodyA; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateRopeJoint()
291 …rld_jniCreateDistanceJoint(JNIEnv* env, jobject object, jlong addr, jlong bodyA, jlong bodyB, jboo… in Java_com_badlogic_gdx_physics_box2d_World_jniCreateDistanceJoint() argument
298 def.bodyA = (b2Body*)bodyA; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateDistanceJoint()
312 …rld_jniCreateFrictionJoint(JNIEnv* env, jobject object, jlong addr, jlong bodyA, jlong bodyB, jboo… in Java_com_badlogic_gdx_physics_box2d_World_jniCreateFrictionJoint() argument
319 def.bodyA = (b2Body*)bodyA; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateFrictionJoint()
331 …d_World_jniCreateGearJoint(JNIEnv* env, jobject object, jlong addr, jlong bodyA, jlong bodyB, jboo… in Java_com_badlogic_gdx_physics_box2d_World_jniCreateGearJoint() argument
338 def.bodyA = (b2Body*)bodyA; in Java_com_badlogic_gdx_physics_box2d_World_jniCreateGearJoint()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/
DWorld.java407 JointEdge jointEdgeB = new JointEdge(def.bodyA, joint); in createJoint()
410 def.bodyA.joints.add(jointEdgeA); in createJoint()
418 …return jniCreateDistanceJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA… in createProperJoint()
423 …return jniCreateFrictionJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA… in createProperJoint()
428 …return jniCreateGearJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.joint1.addr, d.j… in createProperJoint()
432 …return jniCreateMotorJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.linearOffset.x,… in createProperJoint()
437 …return jniCreateMouseJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.target.x, d.tar… in createProperJoint()
442 …return jniCreatePrismaticJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchor… in createProperJoint()
448 …return jniCreatePulleyJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.groundAnchorA.… in createProperJoint()
455 …return jniCreateRevoluteJoint(addr, d.bodyA.addr, d.bodyB.addr, d.collideConnected, d.localAnchorA… in createProperJoint()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/joints/
DPrismaticJointDef.java113 bodyA = b1; in initialize()
115 bodyA.getLocalPointToOut(anchor, localAnchorA); in initialize()
117 bodyA.getLocalVectorToOut(axis, localAxisA); in initialize()
118 referenceAngle = bodyB.getAngle() - bodyA.getAngle(); in initialize()
DMotorJointDef.java46 bodyA = bA; in initialize()
49 bodyA.getLocalPointToOut(xB, linearOffset); in initialize()
51 float angleA = bodyA.getAngle(); in initialize()
DRevoluteJointDef.java131 bodyA = b1; in initialize()
133 bodyA.getLocalPointToOut(anchor, localAnchorA); in initialize()
135 referenceAngle = bodyB.getAngle() - bodyA.getAngle(); in initialize()
DWeldJointDef.java79 bodyA = bA; in initialize()
81 bodyA.getLocalPointToOut(anchor, localAnchorA); in initialize()
83 referenceAngle = bodyB.getAngle() - bodyA.getAngle(); in initialize()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtSequentialImpulseConstraintSolver.h86 btSolverBody& bodyA,btSolverBody& bodyB, in ATTRIBUTE_ALIGNED16()
90 btSolverBody& bodyA,btSolverBody& bodyB, in ATTRIBUTE_ALIGNED16()
97 …btSimdScalar resolveSingleConstraintRowGeneric(btSolverBody& bodyA,btSolverBody& bodyB,const btSol… in ATTRIBUTE_ALIGNED16()
98 …btSimdScalar resolveSingleConstraintRowGenericSIMD(btSolverBody& bodyA,btSolverBody& bodyB,const b… in ATTRIBUTE_ALIGNED16()
99 …btSimdScalar resolveSingleConstraintRowLowerLimit(btSolverBody& bodyA,btSolverBody& bodyB,const bt… in ATTRIBUTE_ALIGNED16()
100 …btSimdScalar resolveSingleConstraintRowLowerLimitSIMD(btSolverBody& bodyA,btSolverBody& bodyB,cons… in ATTRIBUTE_ALIGNED16()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/contacts/
DContact.java142 final Body bodyA = m_fixtureA.getBody(); in getWorldManifold() local
147 worldManifold.initialize(m_manifold, bodyA.getTransform(), shapeA.m_radius, in getWorldManifold()
276 Body bodyA = m_fixtureA.getBody(); in update() local
278 Transform xfA = bodyA.getTransform(); in update()
314 bodyA.setAwake(true); in update()

1234