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

Method setUpAxis

examples/SharedMemory/RemoteGUIHelper.cpp:576–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574}
575
576void RemoteGUIHelper::setUpAxis(int axis)
577{
578 GraphicsSharedMemoryCommand* cmd = m_data->getAvailableSharedMemoryCommand();
579 if (cmd)
580 {
581 cmd->m_updateFlags = 0;
582 cmd->m_upAxisYCommand.m_enableUpAxisY = axis == 1;
583 cmd->m_type = GFX_CMD_0;
584 m_data->submitClientCommand(*cmd);
585 const GraphicsSharedMemoryStatus* status = 0;
586 while ((status = m_data->processServerStatus()) == 0)
587 {
588 }
589 }
590}
591void RemoteGUIHelper::resetCamera(float camDist, float yaw, float pitch, float camPosX, float camPosY, float camPosZ)
592{
593}

Callers 15

initPhysicsMethod · 0.45
initPhysicsMethod · 0.45
ForkLiftDemoMethod · 0.45
initPhysicsMethod · 0.45
MultiThreadedDemoMethod · 0.45
initPhysicsMethod · 0.45
initPhysicsMethod · 0.45
initPhysicsMethod · 0.45
MultiThreadingExampleMethod · 0.45
initPhysicsMethod · 0.45

Calls 3

submitClientCommandMethod · 0.45
processServerStatusMethod · 0.45

Tested by 3

initPhysicsMethod · 0.36
initPhysicsMethod · 0.36
initPhysicsMethod · 0.36