- Timestamp:
- Apr 8, 2009, 12:36:08 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/bullet/BulletDynamics/Dynamics/btRigidBody.h
r2662 r2907 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.