37 #include "LinearMath/btVector3.h"
38 #include "LinearMath/btQuaternion.h"
47 int main(
int argc,
char** argv)
50 std::cout <<
"AppMuscleNPTest" << std::endl;
59 const double timestep_physics = 1.0/500.0;
60 const double timestep_graphics = 1.f/120.f;
72 double energyStart = myModel->
getEnergy();
74 btVector3 velocityStart = myModel->getVelocityOfBody(2);
81 btVector3 velocityEnd = myModel->getVelocityOfBody(2);
virtual btVector3 getMomentum() const
virtual double getEnergy() const
int main(int argc, char **argv)
void addModel(tgModel *pModel)
Contains the definition of class tgSimulation.
Contains the definition of class tgModel.
Contains the definition of class tgSimViewGraphics.
Contains the definition of class tgWorld $Id$.
Contains the definition of class tgBoxGround.
Contains the definition of class tgUtil and overloaded operator<<() free functions.
Contains the definition of class tgEmptyGround.
For testing MuscleNP contacts.