- Timestamp:
- Mar 31, 2009, 8:05:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/bullet/BulletDynamics/Dynamics/btRigidBody.h
r2662 r2882 49 49 50 50 btVector3 m_gravity; 51 btVector3 m_gravity_acceleration; 51 52 btVector3 m_invInertiaLocal; 52 53 btVector3 m_totalForce; … … 182 183 const btVector3& getGravity() const 183 184 { 184 return m_gravity ;185 return m_gravity_acceleration; 185 186 } 186 187 … … 232 233 m_totalForce += force; 233 234 } 235 236 const btVector3& getTotalForce() 237 { 238 return m_totalForce; 239 }; 240 241 const btVector3& getTotalTorque() 242 { 243 return m_totalTorque; 244 }; 234 245 235 const btVector3& getInvInertiaDiagLocal() 246 const btVector3& getInvInertiaDiagLocal() const 236 247 { 237 248 return m_invInertiaLocal;
Note: See TracChangeset
for help on using the changeset viewer.