Changeset 1614
- Timestamp:
- Jul 9, 2012, 3:35:27 PM (10 years ago)
- Location:
- trunk/test/Physics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/Physics/EasyPhysics.cpp
r1613 r1614 130 130 { 131 131 SetLocalInertia(m_mass); 132 m_rigid_body->setMassProps(mass, LOL2BT_VEC3(m_local_inertia));132 m_rigid_body->setMassProps(mass, m_local_inertia); 133 133 } 134 134 } -
trunk/test/Physics/LolBtPhysicsIntegration.h
r1611 r1614 27 27 #define BT2LOL_SIZE 2.0f 28 28 29 #define LOL2BT_VEC3(ELEMENT) (*(btVector3*)(&(ELEMENT)))29 #define LOL2BT_VEC3(ELEMENT) btVector3((ELEMENT).x, (ELEMENT).y, (ELEMENT).z) 30 30 #define BT2LOL_VEC3(ELEMENT) (*(lol::vec3*)(&(ELEMENT))) 31 31
Note: See TracChangeset
for help on using the changeset viewer.