move m_updateFlags to command, and make it 64bit

This commit is contained in:
erwin coumans
2015-07-23 10:51:09 -07:00
parent 812c67e221
commit 0fe6d343bc
3 changed files with 6 additions and 7 deletions

View File

@@ -104,7 +104,7 @@ void MyCallback2(int buttonId, bool buttonState, void* userPtr)
command.m_physSimParamArgs.m_gravityAcceleration[0] = 0;
command.m_physSimParamArgs.m_gravityAcceleration[1] = 0;
command.m_physSimParamArgs.m_gravityAcceleration[2] = -10;
command.m_physSimParamArgs.m_updateFlags = SIM_PARAM_UPDATE_GRAVITY;
command.m_updateFlags = SIM_PARAM_UPDATE_GRAVITY;
cl->enqueueCommand(command);
break;