MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / MultiThreadedDemo

Method MultiThreadedDemo

examples/MultiThreadedDemo/MultiThreadedDemo.cpp:154–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152};
153
154MultiThreadedDemo::MultiThreadedDemo(struct GUIHelperInterface* helper)
155 : CommonRigidBodyMTBase(helper)
156{
157 m_groundBody = NULL;
158 m_groundMovePhase = 0.0f;
159 m_cameraTargetPos = btVector3(0.0f, 0.0f, 0.0f);
160 m_cameraPitch = -30.0f;
161 m_cameraYaw = 90.0f;
162 m_cameraDist = 48.0f;
163 m_prevRollingFriction = -1.0f;
164 helper->setUpAxis(kUpAxis);
165}
166
167void MultiThreadedDemo::initPhysics()
168{

Callers

nothing calls this directly

Calls 2

btVector3Class · 0.50
setUpAxisMethod · 0.45

Tested by

no test coverage detected