tweaks to rolling friction demo/dof2spring2 demo

This commit is contained in:
Erwin Coumans
2015-05-03 12:01:38 -07:00
parent 184a0013b4
commit db5f280c3d
2 changed files with 22 additions and 1 deletions

View File

@@ -56,6 +56,14 @@ public:
void exitPhysics();
void resetCamera()
{
float dist = 35;
float pitch = 0;
float yaw = 14;
float targetPos[3]={0,0,0};
m_guiHelper->resetCamera(dist,pitch,yaw,targetPos[0],targetPos[1],targetPos[2]);
}
};