/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/ |
D | Sweep.java | 37 public final Vec2 localCenter; field in Sweep 47 String s = "Sweep:\nlocalCenter: " + localCenter + "\n"; in toString() 55 localCenter = new Vec2(); in Sweep() 67 localCenter.set(other.localCenter); in set() 95 xf.p.x -= q.c * localCenter.x - q.s * localCenter.y; in getTransform() 96 xf.p.y -= q.s * localCenter.x + q.c * localCenter.y; in getTransform()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/ |
D | Body.java | 132 m_sweep.localCenter.setZero(); in Body() 327 Transform.mulToOutUnsafe(m_xf, m_sweep.localCenter, m_sweep.c); in setTransform() 377 return m_sweep.localCenter; in getLocalCenter() 577 * (m_sweep.localCenter.x * m_sweep.localCenter.x + m_sweep.localCenter.y in getInertia() 578 * m_sweep.localCenter.y); in getInertia() 595 * (m_sweep.localCenter.x * m_sweep.localCenter.x + m_sweep.localCenter.y in getMassData() 596 * m_sweep.localCenter.y); in getMassData() 597 data.center.x = m_sweep.localCenter.x; in getMassData() 598 data.center.y = m_sweep.localCenter.y; in getMassData() 639 m_sweep.localCenter.set(massData.center); in setMassData() [all …]
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/ |
D | b2Body.cpp | 62 m_sweep.localCenter.SetZero(); in b2Body() 288 m_sweep.localCenter.SetZero(); in ResetMassData() 302 b2Vec2 localCenter = b2Vec2_zero; in ResetMassData() local 313 localCenter += massData.mass * massData.center; in ResetMassData() 321 localCenter *= m_invMass; in ResetMassData() 333 m_I -= m_mass * b2Dot(localCenter, localCenter); in ResetMassData() 346 m_sweep.localCenter = localCenter; in ResetMassData() 347 m_sweep.c0 = m_sweep.c = b2Mul(m_xf, m_sweep.localCenter); in ResetMassData() 387 m_sweep.localCenter = massData->center; in SetMassData() 388 m_sweep.c0 = m_sweep.c = b2Mul(m_xf, m_sweep.localCenter); in SetMassData() [all …]
|
D | b2Body.h | 496 return m_sweep.localCenter; in GetLocalCenter() 546 return m_I + m_mass * b2Dot(m_sweep.localCenter, m_sweep.localCenter); in GetInertia() 552 data->I = m_I + m_mass * b2Dot(m_sweep.localCenter, m_sweep.localCenter); in GetMassData() 553 data->center = m_sweep.localCenter; in GetMassData() 837 m_xf.p = m_sweep.c - b2Mul(m_xf.q, m_sweep.localCenter); in SynchronizeTransform() 847 m_xf.p = m_sweep.c - b2Mul(m_xf.q, m_sweep.localCenter); in Advance()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/ |
D | Body.java | 221 private final Vector2 localCenter = new Vector2(); field in Body 227 localCenter.x = tmp[0]; in getLocalCenter() 228 localCenter.y = tmp[1]; in getLocalCenter() 229 return localCenter; in getLocalCenter() 232 private native void jniGetLocalCenter (long addr, float[] localCenter); /* in jniGetLocalCenter() argument
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
D | btScaledBvhTriangleMeshShape.cpp | 95 btVector3 localCenter = btScalar(0.5)*(localAabbMax+localAabbMin); in getAabb() local 99 btVector3 center = trans(localCenter); in getAabb()
|
D | btTriangleMeshShape.cpp | 52 btVector3 localCenter = btScalar(0.5)*(m_localAabbMax+m_localAabbMin); in getAabb() local 56 btVector3 center = trans(localCenter); in getAabb()
|
D | btCompoundShape.cpp | 172 btVector3 localCenter = btScalar(0.5)*(m_localAabbMax+m_localAabbMin); in getAabb() local 178 localCenter.setValue(0,0,0); in getAabb() 185 btVector3 center = trans(localCenter); in getAabb()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/ |
D | b2GearJoint.cpp | 137 m_lcA = m_bodyA->m_sweep.localCenter; in InitVelocityConstraints() 138 m_lcB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints() 139 m_lcC = m_bodyC->m_sweep.localCenter; in InitVelocityConstraints() 140 m_lcD = m_bodyD->m_sweep.localCenter; in InitVelocityConstraints()
|
D | b2RopeJoint.cpp | 50 m_localCenterA = m_bodyA->m_sweep.localCenter; in InitVelocityConstraints() 51 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
|
D | b2FrictionJoint.cpp | 60 m_localCenterA = m_bodyA->m_sweep.localCenter; in InitVelocityConstraints() 61 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
|
D | b2PrismaticJoint.cpp | 130 m_localCenterA = m_bodyA->m_sweep.localCenter; in InitVelocityConstraints() 131 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints() 523 b2Vec2 rA = b2Mul(bA->m_xf.q, m_localAnchorA - bA->m_sweep.localCenter); in GetJointSpeed() 524 b2Vec2 rB = b2Mul(bB->m_xf.q, m_localAnchorB - bB->m_sweep.localCenter); in GetJointSpeed()
|
D | b2DistanceJoint.cpp | 66 m_localCenterA = m_bodyA->m_sweep.localCenter; in InitVelocityConstraints() 67 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
|
D | b2MotorJoint.cpp | 65 m_localCenterA = m_bodyA->m_sweep.localCenter; in InitVelocityConstraints() 66 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
|
D | b2PulleyJoint.cpp | 77 m_localCenterA = m_bodyA->m_sweep.localCenter; in InitVelocityConstraints() 78 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
|
D | b2WheelJoint.cpp | 81 m_localCenterA = m_bodyA->m_sweep.localCenter; in InitVelocityConstraints() 82 m_localCenterB = m_bodyB->m_sweep.localCenter; in InitVelocityConstraints()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/ |
D | Body.java | 99 private final Vector2 localCenter = new Vector2(); field in Body 103 localCenter.set(lc.x, lc.y); in getLocalCenter() 104 return localCenter; in getLocalCenter()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/ |
D | com.badlogic.gdx.physics.box2d.Body.cpp | 111 float* localCenter = (float*)env->GetPrimitiveArrayCritical(obj_localCenter, 0); in Java_com_badlogic_gdx_physics_box2d_Body_jniGetLocalCenter() local 118 localCenter[0] = w.x; in Java_com_badlogic_gdx_physics_box2d_Body_jniGetLocalCenter() 119 localCenter[1] = w.y; in Java_com_badlogic_gdx_physics_box2d_Body_jniGetLocalCenter() 121 env->ReleasePrimitiveArrayCritical(obj_localCenter, localCenter, 0); in Java_com_badlogic_gdx_physics_box2d_Body_jniGetLocalCenter()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/joints/ |
D | GearJoint.java | 234 m_lcA.set(m_bodyA.m_sweep.localCenter); in initVelocityConstraints() 235 m_lcB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints() 236 m_lcC.set(m_bodyC.m_sweep.localCenter); in initVelocityConstraints() 237 m_lcD.set(m_bodyD.m_sweep.localCenter); in initVelocityConstraints()
|
D | FrictionJoint.java | 129 m_localCenterA.set(m_bodyA.m_sweep.localCenter); in initVelocityConstraints() 130 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
|
D | RopeJoint.java | 59 m_localCenterA.set(m_bodyA.m_sweep.localCenter); in initVelocityConstraints() 60 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
|
D | DistanceJoint.java | 171 m_localCenterA.set(m_bodyA.m_sweep.localCenter); in initVelocityConstraints() 172 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
|
D | MotorJoint.java | 171 m_localCenterA.set(m_bodyA.m_sweep.localCenter); in initVelocityConstraints() 172 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
|
D | PrismaticJoint.java | 219 temp.set(m_localAnchorA).subLocal(bA.m_sweep.localCenter); in getJointSpeed() 222 temp.set(m_localAnchorB).subLocal(bB.m_sweep.localCenter); in getJointSpeed() 395 m_localCenterA.set(m_bodyA.m_sweep.localCenter); in initVelocityConstraints() 396 m_localCenterB.set(m_bodyB.m_sweep.localCenter); in initVelocityConstraints()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
D | btAabbUtil2.h | 201 btVector3 localCenter = btScalar(0.5)*(localAabbMax+localAabbMin); in btTransformAabb() local 203 btVector3 center = trans(localCenter); in btTransformAabb()
|