HomeSort by relevance Sort by last modified time
    Searched defs:manifold (Results 1 - 19 of 19) sorted by null

  /external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/
com.badlogic.gdx.physics.box2d.Manifold.cpp 1 #include <com.badlogic.gdx.physics.box2d.Manifold.h>
11 b2Manifold* manifold = (b2Manifold*)addr; local
12 return manifold->type;
22 b2Manifold* manifold = (b2Manifold*)addr; local
23 return manifold->pointCount;
34 b2Manifold* manifold = (b2Manifold*)addr; local
35 values[0] = manifold->localNormal.x;
36 values[1] = manifold->localNormal.y;
48 b2Manifold* manifold = (b2Manifold*)addr; local
49 values[0] = manifold->localPoint.x
61 b2Manifold* manifold = (b2Manifold*)addr; local
    [all...]
com.badlogic.gdx.physics.box2d.Contact.cpp 12 b2WorldManifold manifold; local
13 contact->GetWorldManifold(&manifold);
16 tmp[0] = manifold.normal.x;
17 tmp[1] = manifold.normal.y;
21 tmp[2 + i*2] = manifold.points[i].x;
22 tmp[2 + i*2+1] = manifold.points[i].y;
25 tmp[6] = manifold.separations[0];
26 tmp[7] = manifold.separations[1];
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
btCollisionDispatcher.cpp 105 btPersistentManifold* manifold = new(mem) btPersistentManifold (body0,body1,0,contactBreakingThreshold,contactProcessingThreshold); local
106 manifold->m_index1a = m_manifoldsPtr.size();
107 m_manifoldsPtr.push_back(manifold);
109 return manifold;
112 void btCollisionDispatcher::clearManifold(btPersistentManifold* manifold)
114 manifold->clearManifold();
118 void btCollisionDispatcher::releaseManifold(btPersistentManifold* manifold)
124 clearManifold(manifold);
126 int findIndex = manifold->m_index1a;
132 manifold->~btPersistentManifold()
    [all...]
btSimulationIslandManager.cpp 320 btPersistentManifold* manifold = dispatcher->getManifoldByIndexInternal(i); local
322 const btCollisionObject* colObj0 = static_cast<const btCollisionObject*>(manifold->getBody0());
323 const btCollisionObject* colObj1 = static_cast<const btCollisionObject*>(manifold->getBody1());
345 m_islandmanifold.push_back(manifold);
368 btPersistentManifold** manifold = dispatcher->getInternalManifoldPointer(); local
370 callback->processIsland(&collisionObjects[0],collisionObjects.size(),manifold,maxNumManifolds, -1);
414 //find the accompanying contact manifold for this islandId
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/
Manifold.java 21 public class Manifold {
22 org.jbox2d.collision.Manifold manifold; field in class:Manifold
30 Manifold () {
33 protected Manifold (org.jbox2d.collision.Manifold manifold) {
34 this.manifold = manifold;
38 org.jbox2d.collision.Manifold.ManifoldType type = manifold.type
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
CollisionTest.java 56 btPersistentManifold manifold = world.dispatcher.getManifoldByIndexInternal(i); local
57 btCollisionObject objA = manifold.getBody0();
58 btCollisionObject objB = manifold.getBody1();
PairCacheTest.java 156 btPersistentManifold manifold = manifoldArray.at(j); local
158 boolean isFirstBody = manifold.getBody0() == ghostObject;
159 int otherObjectIndex = isFirstBody ? manifold.getBody1().getUserValue() : manifold.getBody0().getUserValue();
162 for (int p = 0; p < manifold.getNumContacts(); ++p) {
163 btManifoldPoint pt = manifold.getContactPoint(p);
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Character/
btKinematicCharacterController.cpp 212 btPersistentManifold* manifold = m_manifoldArray[j]; local
213 btScalar directionSign = manifold->getBody0() == m_ghostObject ? btScalar(-1.0) : btScalar(1.0);
214 for (int p=0;p<manifold->getNumContacts();p++)
216 const btManifoldPoint&pt = manifold->getContactPoint(p);
235 //manifold->clearManifold();
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
btMultiBodyConstraintSolver.cpp 611 btMultiBodySolverConstraint& btMultiBodyConstraintSolver::addMultiBodyFrictionConstraint(const btVector3& normalAxis,btPersistentManifold* manifold,int frictionIndex,btManifoldPoint& cp,btCollisionObject* colObj0,btCollisionObject* colObj1, btScalar relaxation, const btContactSolverInfo& infoGlobal, btScalar desiredVelocity, btScalar cfmSlip)
621 const btMultiBodyLinkCollider* fcA = btMultiBodyLinkCollider::upcast(manifold->getBody0());
622 const btMultiBodyLinkCollider* fcB = btMultiBodyLinkCollider::upcast(manifold->getBody1());
646 void btMultiBodyConstraintSolver::convertMultiBodyContact(btPersistentManifold* manifold,const btContactSolverInfo& infoGlobal)
648 const btMultiBodyLinkCollider* fcA = btMultiBodyLinkCollider::upcast(manifold->getBody0());
649 const btMultiBodyLinkCollider* fcB = btMultiBodyLinkCollider::upcast(manifold->getBody1());
656 colObj0 = (btCollisionObject*)manifold->getBody0();
657 colObj1 = (btCollisionObject*)manifold->getBody1();
672 for (int j=0;j<manifold->getNumContacts();j++)
675 btManifoldPoint& cp = manifold->getContactPoint(j)
835 btPersistentManifold* manifold= manifoldPtr[i]; local
    [all...]
btMultiBodyDynamicsWorld.cpp 48 btPersistentManifold* manifold = m_predictiveManifolds[i]; local
50 const btCollisionObject* colObj0 = manifold->getBody0();
51 const btCollisionObject* colObj1 = manifold->getBody1();
365 btPersistentManifold** manifold = m_manifolds.size()?&m_manifolds[0]:0; local
371 m_solver->solveMultiBodyGroup( bodies,m_bodies.size(),manifold, m_manifolds.size(),constraints, m_constraints.size() ,multiBodyConstraints, m_multiBodyConstraints.size(), *m_solverInfo,m_debugDrawer,m_dispatcher);
  /external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Contacts/
b2ContactSolver.cpp 70 b2Manifold* manifold = contact->GetManifold(); local
72 int32 pointCount = manifold->pointCount;
99 pc->localNormal = manifold->localNormal;
100 pc->localPoint = manifold->localPoint;
104 pc->type = manifold->type;
108 b2ManifoldPoint* cp = manifold->points + j;
149 b2Manifold* manifold = m_contacts[vc->contactIndex]->GetManifold(); local
171 b2Assert(manifold->pointCount > 0);
180 worldManifold.Initialize(manifold, xfA, radiusA, xfB, radiusB);
609 b2Manifold* manifold = m_contacts[vc->contactIndex]->GetManifold() local
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/
Collision.java 27 import org.jbox2d.collision.Manifold.ManifoldType;
100 final Manifold manifold1, final Manifold manifold2) {
194 * Compute the collision manifold between two circles.
196 * @param manifold
202 public final void collideCircles(Manifold manifold, final CircleShape circle1,
204 manifold.pointCount = 0;
228 manifold.type = ManifoldType.CIRCLES;
229 manifold.localPoint.set(circle1p)
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
Box2DCharacterControllerTest.java 296 WorldManifold manifold = contact.getWorldManifold(); local
298 for (int j = 0; j < manifold.getNumberOfContactPoints(); j++) {
299 below &= (manifold.getPoints()[j].y < pos.y - 1.5f);
Box2DTest.java 46 import com.badlogic.gdx.physics.box2d.Manifold;
178 public void preSolve (Contact contact, Manifold oldManifold) {
179 // Manifold.ManifoldType type = oldManifold.getType();
280 // get the world manifold from which we get the
281 // contact points. A manifold can have 0, 1 or 2
283 WorldManifold manifold = contact.getWorldManifold(); local
284 int numContactPoints = manifold.getNumberOfContactPoints();
286 Vector2 point = manifold.getPoints()[j];
  /external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/
World.java 980 private final Manifold manifold = new Manifold(0); field in class:World
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/contacts/
ContactSolver.java 26 import org.jbox2d.collision.Manifold;
115 final Manifold manifold = contact.getManifold(); local
117 int pointCount = manifold.pointCount;
144 pc.localNormal.set(manifold.localNormal);
145 pc.localPoint.set(manifold.localPoint);
149 pc.type = manifold.type;
153 ManifoldPoint cp = manifold.points[j];
230 Manifold manifold = m_contacts[vc.contactIndex].getManifold() local
756 final Manifold manifold = m_contacts[vc.contactIndex].getManifold(); local
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
btSequentialImpulseConstraintSolver.cpp 1159 btPersistentManifold* manifold = 0; local
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Dynamics/
btDiscreteDynamicsWorld.cpp 189 btPersistentManifold** manifold = m_manifolds.size()?&m_manifolds[0]:0; local
192 m_solver->solveGroup( bodies,m_bodies.size(),manifold, m_manifolds.size(),constraints, m_constraints.size() ,*m_solverInfo,m_debugDrawer,m_dispatcher);
752 btPersistentManifold* manifold = m_predictiveManifolds[i]; local
754 const btCollisionObject* colObj0 = manifold->getBody0();
755 const btCollisionObject* colObj1 = manifold->getBody1();
861 btPersistentManifold* manifold = manifoldArray[j];
862 if (manifold->getNumContacts()>0)
890 btPersistentManifold* manifold = m_predictiveManifolds[i]; local
891 this->m_dispatcher1->releaseManifold(manifold);
955 btPersistentManifold* manifold = m_dispatcher1->getNewManifold(body,sweepResults.m_hitCollisionObject) local
1089 btPersistentManifold* manifold = m_predictiveManifolds[i]; local
    [all...]
  /external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/
collision_wrap.cpp 2390 btPersistentManifold *manifold = marr[j]; local
2419 btPersistentManifold *manifold = marr[j]; local
    [all...]

Completed in 2053 milliseconds