/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/ |
b2TimeOfImpact.cpp | 67 b2Vec2 pointA = b2Mul(xfA, localPointA); 68 b2Vec2 pointB = b2Mul(xfB, localPointB); 82 b2Vec2 normal = b2Mul(xfB.q, m_axis); 85 b2Vec2 pointB = b2Mul(xfB, m_localPoint); 88 b2Vec2 pointA = b2Mul(xfA, localPointA); 107 b2Vec2 normal = b2Mul(xfA.q, m_axis); 110 b2Vec2 pointA = b2Mul(xfA, m_localPoint); 113 b2Vec2 pointB = b2Mul(xfB, localPointB); 145 b2Vec2 pointA = b2Mul(xfA, localPointA); 146 b2Vec2 pointB = b2Mul(xfB, localPointB) [all...] |
b2CollidePolygon.cpp | 39 b2Vec2 n = b2Mul(xf.q, n1s[i]);
40 b2Vec2 v1 = b2Mul(xf, v1s[i]);
77 b2Vec2 normal1 = b2MulT(xf2.q, b2Mul(xf1.q, normals1[edge1])); 96 c[0].v = b2Mul(xf2, vertices2[i1]); 102 c[1].v = b2Mul(xf2, vertices2[i2]); 179 b2Vec2 tangent = b2Mul(xf1.q, localTangent); 182 v11 = b2Mul(xf1, v11); 183 v12 = b2Mul(xf1, v12);
|
b2Collision.cpp | 36 b2Vec2 pointA = b2Mul(xfA, manifold->localPoint); 37 b2Vec2 pointB = b2Mul(xfB, manifold->points[0].localPoint); 53 normal = b2Mul(xfA.q, manifold->localNormal); 54 b2Vec2 planePoint = b2Mul(xfA, manifold->localPoint); 58 b2Vec2 clipPoint = b2Mul(xfB, manifold->points[i].localPoint); 69 normal = b2Mul(xfB.q, manifold->localNormal); 70 b2Vec2 planePoint = b2Mul(xfB, manifold->localPoint); 74 b2Vec2 clipPoint = b2Mul(xfA, manifold->points[i].localPoint);
|
b2CollideCircle.cpp | 30 b2Vec2 pA = b2Mul(xfA, circleA->m_p); 31 b2Vec2 pB = b2Mul(xfB, circleB->m_p); 59 b2Vec2 c = b2Mul(xfB, circleB->m_p);
|
b2Distance.cpp | 114 v->wA = b2Mul(transformA, wALocal); 115 v->wB = b2Mul(transformB, wBLocal); 141 v->wA = b2Mul(transformA, wALocal); 142 v->wB = b2Mul(transformB, wBLocal); 536 vertex->wA = b2Mul(transformA, proxyA->GetVertex(vertex->indexA)); 539 vertex->wB = b2Mul(transformB, proxyB->GetVertex(vertex->indexB));
|
b2CollideEdge.cpp | 34 b2Vec2 Q = b2MulT(xfA, b2Mul(xfB, circleB->m_p)); 235 m_centroidB = b2Mul(m_xf, polygonB->m_centroid); 431 m_polygonB.vertices[i] = b2Mul(m_xf, polygonB->m_vertices[i]); 432 m_polygonB.normals[i] = b2Mul(m_xf.q, polygonB->m_normals[i]);
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/Shapes/ |
b2CircleShape.cpp | 38 b2Vec2 center = transform.p + b2Mul(transform.q, m_p); 52 b2Vec2 position = transform.p + b2Mul(transform.q, m_p); 88 b2Vec2 p = transform.p + b2Mul(transform.q, m_p);
|
b2EdgeShape.cpp | 121 b2Vec2 v1 = b2Mul(xf, m_vertex1); 122 b2Vec2 v2 = b2Mul(xf, m_vertex2);
|
b2ChainShape.cpp | 180 b2Vec2 v1 = b2Mul(xf, m_vertices[i1]); 181 b2Vec2 v2 = b2Mul(xf, m_vertices[i2]);
|
b2PolygonShape.cpp | 64 m_vertices[i] = b2Mul(xf, m_vertices[i]); 65 m_normals[i] = b2Mul(xf.q, m_normals[i]); 332 output->normal = b2Mul(xf.q, m_normals[index]); 343 b2Vec2 lower = b2Mul(xf, m_vertices[0]); 348 b2Vec2 v = b2Mul(xf, m_vertices[i]);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
btBox2dBox2dCollisionAlgorithm.cpp | 93 #define b2Mul(a,b) (a)*(b) 147 btVector3 normal1World = b2Mul(xf1.getBasis(), normals1[edge1]); 157 btVector3 v1 = b2Mul(xf1, vertices1[edge1]); 158 btVector3 v2 = b2Mul(xf2, vertices2[index]); 172 btVector3 d = b2Mul(xf2, poly2->getCentroid()) - b2Mul(xf1, poly1->getCentroid()); 268 btVector3 normal1 = b2MulT(xf2.getBasis(), b2Mul(xf1.getBasis(), normals1[edge1])); 287 c[0].v = b2Mul(xf2, vertices2[i1]); 292 c[1].v = b2Mul(xf2, vertices2[i2]); 358 btVector3 sideNormal = b2Mul(xf1.getBasis(), v12 - v11) [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/ |
b2GearJoint.cpp | 88 b2Vec2 pA = b2MulT(xfC.q, b2Mul(xfA.q, m_localAnchorA) + (xfA.p - xfC.p)); 120 b2Vec2 pB = b2MulT(xfD.q, b2Mul(xfB.q, m_localAnchorB) + (xfB.p - xfD.p)); 179 b2Vec2 u = b2Mul(qC, m_localAxisC); 180 b2Vec2 rC = b2Mul(qC, m_localAnchorC - m_lcC); 181 b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_lcA); 197 b2Vec2 u = b2Mul(qD, m_localAxisD); 198 b2Vec2 rD = b2Mul(qD, m_localAnchorD - m_lcD); 199 b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_lcB); 303 b2Vec2 u = b2Mul(qC, m_localAxisC); 304 b2Vec2 rC = b2Mul(qC, m_localAnchorC - m_lcC) [all...] |
b2WheelJoint.cpp | 104 b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 105 b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB); 110 m_ay = b2Mul(qA, m_localYAxisA); 128 m_ax = b2Mul(qA, m_localXAxisA); 289 b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 290 b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB); 293 b2Vec2 ay = b2Mul(qA, m_localYAxisA);
|
b2DistanceJoint.cpp | 85 m_rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 86 m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB); 199 b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 200 b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
|
b2MotorJoint.cpp | 85 m_rA = b2Mul(qA, -m_localCenterA); 86 m_rB = b2Mul(qB, -m_localCenterB); 114 m_linearError = cB + m_rB - cA - m_rA - b2Mul(qA, m_linearOffset); 172 b2Vec2 impulse = -b2Mul(m_linearMass, Cdot);
|
b2RopeJoint.cpp | 69 m_rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 70 m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB); 171 b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 172 b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
|
b2FrictionJoint.cpp | 78 m_rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 79 m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB); 161 b2Vec2 impulse = -b2Mul(m_linearMass, Cdot);
|
b2WeldJoint.cpp | 79 m_rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 80 m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB); 209 b2Vec3 impulse = -b2Mul(m_mass, Cdot); 239 b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 240 b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
|
b2PrismaticJoint.cpp | 150 b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 151 b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB); 159 m_axis = b2Mul(qA, m_localXAxisA); 172 m_perp = b2Mul(qA, m_localYAxisA); 376 b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 377 b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB); 380 b2Vec2 axis = b2Mul(qA, m_localXAxisA); 383 b2Vec2 perp = b2Mul(qA, m_localYAxisA); 523 b2Vec2 rA = b2Mul(bA->m_xf.q, m_localAnchorA - bA->m_sweep.localCenter); 524 b2Vec2 rB = b2Mul(bB->m_xf.q, m_localAnchorB - bB->m_sweep.localCenter) [all...] |
b2PulleyJoint.cpp | 96 m_rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 97 m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB); 199 b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA); 200 b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
|
b2MouseJoint.cpp | 134 m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB); 175 b2Vec2 impulse = b2Mul(m_mass, -(Cdot + m_C + m_gamma * m_impulse));
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Contacts/ |
b2ContactSolver.cpp | 176 xfA.p = cA - b2Mul(xfA.q, localCenterA); 177 xfB.p = cB - b2Mul(xfB.q, localCenterB); 427 b -= b2Mul(vc->K, a); 443 b2Vec2 x = - b2Mul(vc->normalMass, b); 629 b2Vec2 pointA = b2Mul(xfA, pc->localPoint); 630 b2Vec2 pointB = b2Mul(xfB, pc->localPoints[0]); 640 normal = b2Mul(xfA.q, pc->localNormal); 641 b2Vec2 planePoint = b2Mul(xfA, pc->localPoint); 643 b2Vec2 clipPoint = b2Mul(xfB, pc->localPoints[index]); 651 normal = b2Mul(xfB.q, pc->localNormal) [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Common/ |
b2Math.h | 437 inline b2Vec2 b2Mul(const b2Mat22& A, const b2Vec2& v) 518 inline b2Mat22 b2Mul(const b2Mat22& A, const b2Mat22& B) 520 return b2Mat22(b2Mul(A, B.ex), b2Mul(A, B.ey)); 532 inline b2Vec3 b2Mul(const b2Mat33& A, const b2Vec3& v) 544 inline b2Rot b2Mul(const b2Rot& q, const b2Rot& r) 570 inline b2Vec2 b2Mul(const b2Rot& q, const b2Vec2& v) 581 inline b2Vec2 b2Mul(const b2Transform& T, const b2Vec2& v) 601 inline b2Transform b2Mul(const b2Transform& A, const b2Transform& B) 604 C.q = b2Mul(A.q, B.q) [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/ |
b2Body.cpp | 347 m_sweep.c0 = m_sweep.c = b2Mul(m_xf, m_sweep.localCenter); 388 m_sweep.c0 = m_sweep.c = b2Mul(m_xf, m_sweep.localCenter); 428 m_sweep.c = b2Mul(m_xf, m_sweep.localCenter); 445 xf1.p = m_sweep.c0 - b2Mul(xf1.q, m_sweep.localCenter);
|
b2Body.h | 558 return b2Mul(m_xf, localPoint); 563 return b2Mul(m_xf.q, localVector); 837 m_xf.p = m_sweep.c - b2Mul(m_xf.q, m_sweep.localCenter); 847 m_xf.p = m_sweep.c - b2Mul(m_xf.q, m_sweep.localCenter);
|