Home
last modified time | relevance | path

Searched refs:localInertia (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DPhysicsRigidBody.java77 protected javax.vecmath.Vector3f localInertia = new javax.vecmath.Vector3f(); field in PhysicsRigidBody
122 collisionShape.calculateLocalInertia(mass, localInertia); in preRebuild()
124 …nInfo = new RigidBodyConstructionInfo(mass, motionState, collisionShape.getCShape(), localInertia); in preRebuild()
323 collisionShape.calculateLocalInertia(mass, localInertia); in setMass()
326 rBody.setMassProps(mass, localInertia); in setMass()
528 collisionShape.calculateLocalInertia(mass, localInertia); in setCollisionShape()
/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_objects_PhysicsRigidBody.cpp54 btVector3 localInertia = btVector3(); in Java_com_jme3_bullet_objects_PhysicsRigidBody_createRigidBody() local
55 shape->calculateLocalInertia(mass, localInertia); in Java_com_jme3_bullet_objects_PhysicsRigidBody_createRigidBody()
56 btRigidBody* body = new btRigidBody(mass, motionState, shape, localInertia); in Java_com_jme3_bullet_objects_PhysicsRigidBody_createRigidBody()
336 btVector3 localInertia = btVector3(); in Java_com_jme3_bullet_objects_PhysicsRigidBody_updateMassProps() local
337 shape->calculateLocalInertia(mass, localInertia); in Java_com_jme3_bullet_objects_PhysicsRigidBody_updateMassProps()
338 body->setMassProps(mass, localInertia); in Java_com_jme3_bullet_objects_PhysicsRigidBody_updateMassProps()