Home
last modified time | relevance | path

Searched refs:m_gravity (Results 1 – 23 of 23) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Dynamics/
DbtSimpleDynamicsWorld.cpp43 m_gravity(0,0,-10) in btSimpleDynamicsWorld()
116 m_gravity = gravity; in setGravity()
130 return m_gravity; in getGravity()
150 body->setGravity(m_gravity); in addRigidBody()
160 body->setGravity(m_gravity); in addRigidBody()
DbtRigidBody.cpp50 m_gravity.setValue(btScalar(0.0), btScalar(0.0), btScalar(0.0)); in setupRigidBody()
139 m_gravity = acceleration * (btScalar(1.0) / m_inverseMass); in setGravity()
221 applyCentralForce(m_gravity); in applyGravity()
244 m_gravity = mass * m_gravity_acceleration; in setMassProps()
500 m_gravity.serialize(rbd->m_gravity); in serialize()
DbtDynamicsWorld.h154 btVector3DoubleData m_gravity; member
161 btVector3FloatData m_gravity; member
DbtRigidBody.h71 btVector3 m_gravity; variable
569 btVector3FloatData m_gravity; member
595 btVector3DoubleData m_gravity; member
DbtSimpleDynamicsWorld.h39 btVector3 m_gravity; variable
DbtDiscreteDynamicsWorld.cpp208 m_gravity(0,-10,0), in btDiscreteDynamicsWorld()
526 m_gravity = gravity; in setGravity()
539 return m_gravity; in getGravity()
567 body->setGravity(m_gravity); in addRigidBody()
592 body->setGravity(m_gravity); in addRigidBody()
1468 m_gravity.serialize(worldInfo->m_gravity); in serializeDynamicsWorldInfo()
DbtDiscreteDynamicsWorld.h52 btVector3 m_gravity; in ATTRIBUTE_ALIGNED16() local
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/
Db2World.h246 b2Vec2 m_gravity; variable
313 m_gravity = gravity; in SetGravity()
318 return m_gravity; in GetGravity()
Db2World.cpp55 m_gravity = gravity; in b2World()
531 island.Solve(&profile, step, m_gravity, m_allowSleep); in Solve()
1289 b2Log("b2Vec2 g(%.15lef, %.15lef);\n", m_gravity.x, m_gravity.y); in Dump()
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Rope/
Db2Rope.cpp31 m_gravity.SetZero(); in b2Rope()
99 m_gravity = def->gravity; in Initialize()
119 m_vs[i] += h * m_gravity; in Step()
Db2Rope.h108 b2Vec2 m_gravity; variable
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Character/
DbtKinematicCharacterController.cpp149 m_gravity = 9.8 * 3 ; // 3G acceleration. in btKinematicCharacterController()
647 m_verticalVelocity -= m_gravity * dt; in playerStep()
732 m_gravity = gravity; in setGravity()
737 return m_gravity; in getGravity()
DbtKinematicCharacterController.h53 btScalar m_gravity; in ATTRIBUTE_ALIGNED16() local
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletFileLoader/autogenerated/
Dbullet.h614 btVector3FloatData m_gravity; variable
642 btVector3DoubleData m_gravity; variable
1126 btVector3DoubleData m_gravity; variable
1135 btVector3FloatData m_gravity; variable
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/
DbtBulletWorldImporter.cpp156 gravity.deSerializeDouble(solverInfoData->m_gravity); in convertAllObjects()
192 gravity.deSerializeFloat(solverInfoData->m_gravity); in convertAllObjects()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
DbtMultiBodyDynamicsWorld.cpp470 bod->addBaseForce(m_gravity * bod->getBaseMass()); in solveConstraints()
474 bod->addLinkForce(j, m_gravity * bod->getLinkMass(j)); in solveConstraints()
914 bod->addBaseForce(m_gravity * bod->getBaseMass()); in applyGravity()
918 bod->addLinkForce(j, m_gravity * bod->getLinkMass(j)); in applyGravity()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/
DWorld.java108 private final Vec2 m_gravity = new Vec2(); field in World
178 m_gravity.set(gravity); in World()
1003 m_gravity.set(gravity); in setGravity()
1012 return m_gravity; in getGravity()
1190 island.solve(m_profile, step, m_gravity, m_allowSleep); in solve()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
DbtSoftRigidDynamicsWorld.cpp58 m_sbi.m_gravity.setValue(0,-10,0); in btSoftRigidDynamicsWorld()
DbtSoftBody.h52 btVector3 m_gravity; member
63 m_gravity(0,-10,0) in btSoftBodyWorldInfo()
DbtSoftBodyInternals.h520 medium.m_pressure = depth*wfi->water_density*wfi->m_gravity.length(); in EvaluateMedium()
DbtSoftBody.cpp1763 addVelocity(m_worldInfo->m_gravity*m_sst.sdt); in predictMotion()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/
Ddynamics_wrap.cpp4088 if (arg1) (arg1)->m_gravity = *arg2; in Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1set()
4101 result = (btVector3FloatData *)& ((arg1)->m_gravity); in Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyFloatData_1gravity_1get()
4714 if (arg1) (arg1)->m_gravity = *arg2; in Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1set()
4727 result = (btVector3DoubleData *)& ((arg1)->m_gravity); in Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBodyDoubleData_1gravity_1get()
8425 if (arg1) (arg1)->m_gravity = *arg2; in Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1gravity_1set()
8438 result = (btVector3DoubleData *)& ((arg1)->m_gravity); in Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldDoubleData_1gravity_1get()
8505 if (arg1) (arg1)->m_gravity = *arg2; in Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1gravity_1set()
8518 result = (btVector3FloatData *)& ((arg1)->m_gravity); in Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btDynamicsWorldFloatData_1gravity_1get()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/
Dsoftbody_wrap.cpp3449 if (arg1) (arg1)->m_gravity = *arg2; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBodyWorldInfo_1gravity_1set()
3462 result = (btVector3 *)& ((arg1)->m_gravity); in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBodyWorldInfo_1gravity_1get()