mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-17 23:11:06 +00:00
updated demo, can't stepFront
This commit is contained in:
parent
06a1de2574
commit
5f91cc237d
@ -1473,10 +1473,11 @@ int main(int argc,char** argv)
|
||||
ConcaveDemo* concaveDemo = new ConcaveDemo();
|
||||
concaveDemo->initPhysics();
|
||||
concaveDemo->setCameraDistance(30.f);
|
||||
concaveDemo->stepFront();
|
||||
concaveDemo->stepFront();
|
||||
concaveDemo->stepFront();
|
||||
concaveDemo->stepFront();
|
||||
//cannot run stepFront yet, the OpenGL context is not opened (stepFront updates camera...)
|
||||
// concaveDemo->stepFront();
|
||||
// concaveDemo->stepFront();
|
||||
// concaveDemo->stepFront();
|
||||
// concaveDemo->stepFront();
|
||||
|
||||
return glutmain(argc, argv,640,480,"Moving Concave Mesh Demo",concaveDemo);
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ m_dynamicsWorld(0),
|
||||
m_pickConstraint(0),
|
||||
m_cameraDistance(15.0),
|
||||
m_debugMode(0),
|
||||
m_ele(0.f),
|
||||
m_ele(20.f),
|
||||
m_azi(0.f),
|
||||
m_cameraPosition(0.f,0.f,0.f),
|
||||
m_cameraTargetPosition(0.f,0.f,0.f),
|
||||
|
Loading…
Reference in New Issue
Block a user