- Timestamp:
- 03/21/08 16:32:42 (2 years ago)
- Location:
- d-collide/trunk/d-collide/testapp
- Files:
-
- 2 added
- 3 modified
-
CMakeLists.txt (modified) (1 diff)
-
myobjectnode.cpp (modified) (1 diff)
-
myobjectnode.h (modified) (1 diff)
-
scenes/benchmark/rigid.cpp (added)
-
scenes/benchmark/rigid.h (added)
Legend:
- Unmodified
- Added
- Removed
-
d-collide/trunk/d-collide/testapp/CMakeLists.txt
r3347 r3359 87 87 88 88 scenes/benchmark/mixed.cpp 89 scenes/benchmark/rigid.cpp 89 90 scenes/benchmark/deformable.cpp 90 91 -
d-collide/trunk/d-collide/testapp/myobjectnode.cpp
r2943 r3359 334 334 } 335 335 336 void MyObjectNode::setRotation(float angle, float x, float y, float z, bool movePhysicsBody) { 337 dcollide::Matrix m; 338 m.rotate(angle, x,y,z); 339 setRotation(m, movePhysicsBody); 340 } 341 336 342 /*! 337 343 * \brief rotates the Proxy,the OGRE node, and (if it exists) the physics body -
d-collide/trunk/d-collide/testapp/myobjectnode.h
r2943 r3359 80 80 virtual void rotate(float angle, float x, float y, float z, bool respectOrientation = true); 81 81 virtual void rotate(const dcollide::Matrix& rotationMatrix, bool respectOrientation = true); 82 //void setRotation(float angle, float x, float y, float z, bool movePhysicsBody = true);82 void setRotation(float angle, float x, float y, float z, bool movePhysicsBody = true); 83 83 virtual void setRotation(const dcollide::Matrix& rotationMatrix, bool movePhysicsBody = true); 84 84
