converted DynamicControlDemo/MotorDemo

set default camera position for benchmarks, fracturedemo
This commit is contained in:
Erwin Coumans
2015-05-03 10:46:22 -07:00
parent 7288313970
commit 8ee491abfa
6 changed files with 497 additions and 1 deletions

View File

@@ -105,6 +105,14 @@ class BenchmarkDemo : public CommonRigidBodyBase
void stepSimulation(float deltaTime);
void resetCamera()
{
float dist = 120;
float pitch = 52;
float yaw = 35;
float targetPos[3]={0,10.46,0};
m_guiHelper->resetCamera(dist,pitch,yaw,targetPos[0],targetPos[1],targetPos[2]);
}
};