Home
last modified time | relevance | path

Searched refs:m_bodies (Results 1 – 14 of 14) sorted by relevance

/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/
DIsland.java168 public Body[] m_bodies; field in Island
199 if (m_bodies == null || m_bodyCapacity > m_bodies.length) { in init()
200 m_bodies = new Body[m_bodyCapacity]; in init()
248 final Body b = m_bodies[i]; in solve()
385 Body body = m_bodies[i]; in solve()
406 Body b = m_bodies[i]; in solve()
424 Body b = m_bodies[i]; in solve()
440 m_positions[i].c.x = m_bodies[i].m_sweep.c.x; in solveTOI()
441 m_positions[i].c.y = m_bodies[i].m_sweep.c.y; in solveTOI()
442 m_positions[i].a = m_bodies[i].m_sweep.a; in solveTOI()
[all …]
DWorld.java1195 Body b = island.m_bodies[i]; in solve()
1489 Body body = island.m_bodies[i];
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/
Db2Island.cpp165 m_bodies = (b2Body**)m_allocator->Allocate(bodyCapacity * sizeof(b2Body*)); in b2Island()
180 m_allocator->Free(m_bodies); in ~b2Island()
192 b2Body* b = m_bodies[i]; in Solve()
332 b2Body* body = m_bodies[i]; in Solve()
353 b2Body* b = m_bodies[i]; in Solve()
377 b2Body* b = m_bodies[i]; in Solve()
392 b2Body* b = m_bodies[i]; in SolveTOI()
452 m_bodies[toiIndexA]->m_sweep.c0 = m_positions[toiIndexA].c; in SolveTOI()
453 m_bodies[toiIndexA]->m_sweep.a0 = m_positions[toiIndexA].a; in SolveTOI()
454 m_bodies[toiIndexB]->m_sweep.c0 = m_positions[toiIndexB].c; in SolveTOI()
[all …]
Db2Island.h56 m_bodies[m_bodyCount] = body; in Add()
77 b2Body** m_bodies; variable
Db2World.cpp540 b2Body* b = island.m_bodies[i]; in Solve()
868 b2Body* body = island.m_bodies[i]; in SolveTOI()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
DbtSoftBody.cpp391 pj->m_bodies[0] = body0; in appendLinearJoint()
392 pj->m_bodies[1] = body1; in appendLinearJoint()
393 pj->m_refs[0] = pj->m_bodies[0].xform().inverse()*specs.position; in appendLinearJoint()
394 pj->m_refs[1] = pj->m_bodies[1].xform().inverse()*specs.position; in appendLinearJoint()
417 pj->m_bodies[0] = body0; in appendAngularJoint()
418 pj->m_bodies[1] = body1; in appendAngularJoint()
419 pj->m_refs[0] = pj->m_bodies[0].xform().inverse().getBasis()*specs.axis; in appendAngularJoint()
420 pj->m_refs[1] = pj->m_bodies[1].xform().inverse().getBasis()*specs.axis; in appendAngularJoint()
2766 m_bodies[0].activate(); in Prepare()
2767 m_bodies[1].activate(); in Prepare()
[all …]
DbtSoftBodyHelpers.cpp400 const btVector3 a0=pj->m_bodies[0].xform()*pjl->m_refs[0]; in Draw()
401 const btVector3 a1=pj->m_bodies[1].xform()*pjl->m_refs[1]; in Draw()
402 idraw->drawLine(pj->m_bodies[0].xform().getOrigin(),a0,btVector3(1,1,0)); in Draw()
403 idraw->drawLine(pj->m_bodies[1].xform().getOrigin(),a1,btVector3(0,1,1)); in Draw()
411 const btVector3 o0=pj->m_bodies[0].xform().getOrigin(); in Draw()
412 const btVector3 o1=pj->m_bodies[1].xform().getOrigin(); in Draw()
413 const btVector3 a0=pj->m_bodies[0].xform().getBasis()*pj->m_refs[0]; in Draw()
414 const btVector3 a1=pj->m_bodies[1].xform().getBasis()*pj->m_refs[1]; in Draw()
DbtSoftBodyInternals.h665 joint.m_bodies[0] = ba; in SolveContact()
666 joint.m_bodies[1] = bb; in SolveContact()
DbtSoftBody.h498 Body m_bodies[2]; member
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/
DVerticalStack.java47 Body[] m_bodies = new Body[e_rowCount * e_columnCount]; field in VerticalStack
88 m_bodies[n] = body; in createWorld()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
DbtMultiBodyDynamicsWorld.cpp238 btAlignedObjectArray<btCollisionObject*> m_bodies; member
274 m_bodies.resize (0); in setup()
342 m_bodies.push_back(bodies[i]); in processIsland()
364 btCollisionObject** bodies = m_bodies.size()? &m_bodies[0]:0; in processConstraints()
371 …m_solver->solveMultiBodyGroup( bodies,m_bodies.size(),manifold, m_manifolds.size(),constraints, m_… in processConstraints()
372 m_bodies.resize(0); in processConstraints()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Dynamics/
DbtDiscreteDynamicsWorld.cpp93 btAlignedObjectArray<btCollisionObject*> m_bodies; member
126 m_bodies.resize (0); in setup()
170 m_bodies.push_back(bodies[i]); in processIsland()
188 btCollisionObject** bodies = m_bodies.size()? &m_bodies[0]:0; in processConstraints()
192 …m_solver->solveGroup( bodies,m_bodies.size(),manifold, m_manifolds.size(),constraints, m_constrain… in processConstraints()
193 m_bodies.resize(0); in processConstraints()
/external/llvm/test/CodeGen/Thumb2/
Dconstant-islands.ll443 %m_bodies = getelementptr inbounds %class.RagDoll, %class.RagDoll* %this1, i32 0, i32 3
444 …elementptr inbounds [11 x %class.btRigidBody*], [11 x %class.btRigidBody*]* %m_bodies, i32 0, i32 0
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/
Dsoftbody_wrap.cpp7759 btSoftBody::Body *b = (btSoftBody::Body *) arg1->m_bodies; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Joint_1bodies_1set()
7775 result = (btSoftBody::Body *)(btSoftBody::Body *) ((arg1)->m_bodies); in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Joint_1bodies_1get()