/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
btGImpactShape.h | 508 virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const; 819 virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const; 1025 virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const;
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/ |
btMultiBody.cpp | 90 btScalar mass, 100 m_baseMass(mass), 143 btScalar mass, 153 m_links[i].m_mass = mass; 179 btScalar mass, 194 m_links[i].m_mass = mass; 223 btScalar mass, 238 m_links[i].m_mass = mass; 268 btScalar mass, 280 m_links[i].m_mass = mass; [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/Shapes/ |
b2PolygonShape.cpp | 360 // Polygon mass, centroid, and inertia. 361 // Let rho be the polygon density in mass per unit area. 363 // mass = rho * int(dA) 364 // centroid.x = (1/mass) * rho * int(x * dA) 365 // centroid.y = (1/mass) * rho * int(y * dA) 426 // Total mass 427 massData->mass = density * area; 429 // Center of mass 437 // Shift to center of mass then to original body origin. 438 massData->I += massData->mass * (b2Dot(massData->center, massData->center) - b2Dot(center, center)) [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
btPolyhedralConvexShape.cpp | 404 void btPolyhedralConvexShape::calculateLocalInertia(btScalar mass,btVector3& inertia) const 423 const btScalar scaledmass = mass * btScalar(0.08333333);
|
btBox2dShape.h | 140 virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const;
|
btBoxShape.h | 114 virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const;
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
Collision.java | 292 public static Vector3 gim_get_point_inertia(Vector3 point, float mass) { 293 return CollisionJNI.gim_get_point_inertia(point, mass);
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/shapes/ |
ChainShape.java | 164 massData.mass = 0.0f;
|
EdgeShape.java | 237 massData.mass = 0.0f;
|
PolygonShape.java | 550 // Polygon mass, centroid, and inertia. 551 // Let rho be the polygon density in mass per unit area. 553 // mass = rho * int(dA) 554 // centroid.x = (1/mass) * rho * int(x * dA) 555 // centroid.y = (1/mass) * rho * int(y * dA) 619 // Total mass 620 massData.mass = density * area; 622 // Center of mass 630 // Shift to center of mass then to original body origin. 631 massData.I += massData.mass * (Vec2.dot(massData.center, massData.center)) [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/ |
Body.java | 90 // Rotational inertia about the center of mass. 178 * density is non-zero, this function automatically updates the mass of the body. Contacts are not 205 // Adjust mass properties if needed. 222 * If the density is non-zero, this function automatically updates the mass of the body. 237 * associated with this fixture. This will automatically adjust the mass of the body if the body 305 // Reset the mass data. 367 * Get the world position of the center of mass. Do not modify. 374 * Get the local position of the center of mass. Do not modify. 381 * Set the linear velocity of the center of mass. 383 * @param v the new linear velocity of the center of mass [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/ |
btWorldImporter.h | 157 virtual btRigidBody* createRigidBody(bool isDynamic, btScalar mass, const btTransform& startTransform, btCollisionShape* shape,const char* bodyName);
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/extras/com/badlogic/gdx/physics/bullet/extras/ |
ExtrasJNI.java | 126 public static long SwigDirector_btBulletWorldImporter_createRigidBody(btBulletWorldImporter jself, boolean isDynamic, float mass, Matrix4 startTransform, long shape, String bodyName) { 127 return btRigidBody.getCPtr(jself.createRigidBody(isDynamic, mass, startTransform, (shape == 0) ? null : new btCollisionShape(shape, false), bodyName));
|
btWorldImporter.java | 145 public btRigidBody createRigidBody(boolean isDynamic, float mass, Matrix4 startTransform, btCollisionShape shape, String bodyName) { 146 return btRigidBody.getInstance(ExtrasJNI.btWorldImporter_createRigidBody(swigCPtr, this, isDynamic, mass, startTransform, btCollisionShape.getCPtr(shape), shape, bodyName), false);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/ |
btSoftBody.h | 229 btScalar m_im; // 1/mass 796 /* Set mass */ 798 btScalar mass); 799 /* Get mass */ 801 /* Get total mass */ 803 /* Set total mass (weighted by previous masses) */ 804 void setTotalMass( btScalar mass, 808 /* Set volume mass (using tetrahedrons) */ 809 void setVolumeMass( btScalar mass); 833 /* Cluster center of mass */ [all...] |
btSoftBody.cpp | 672 void btSoftBody::setMass(int node,btScalar mass) 674 m_nodes[node].m_im=mass>0?1/mass:0; 687 btScalar mass=0; local 690 mass+=getMass(i); 692 return(mass); 696 void btSoftBody::setTotalMass(btScalar mass,bool fromfaces) 727 m_nodes[i].m_im/=itm*mass; 739 void btSoftBody::setVolumeMass(btScalar mass) 765 setTotalMass(mass,false) [all...] |
btSoftBodyInternals.h | 103 virtual void calculateLocalInertia(btScalar /*mass*/,btVector3& /*inertia*/) const 147 virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/ |
b2Body.h | 36 /// static: zero mass, zero velocity, may be manually moved 37 /// kinematic: zero mass, non-zero velocity set by user, moved by solver 38 /// dynamic: positive mass, non-zero velocity determined by forces, moved by solver 73 /// Note: if a dynamic body would have zero mass, the mass is set to one. 132 /// If the density is non-zero, this function automatically updates the mass of the body. 141 /// If the density is non-zero, this function automatically updates the mass of the body. 149 /// automatically adjust the mass of the body if the body is dynamic and the 175 /// Get the world position of the center of mass. 178 /// Get the local position of the center of mass [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/ |
btSoftBody.java | [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/ |
ParticleSystem.java | 806 float m = contact.mass; 846 float m = contact.mass; [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/extras/ |
extras_wrap.cpp | [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/ |
dynamics_wrap.cpp | [all...] |