| 214 | } |
| 215 | |
| 216 | void MyCallback(int buttonId, bool buttonState, void* userPtr) |
| 217 | { |
| 218 | PhysicsClientExample* cl = (PhysicsClientExample*)userPtr; |
| 219 | b3Assert(cl); |
| 220 | |
| 221 | if (cl && buttonState) |
| 222 | { |
| 223 | cl->enqueueCommand(buttonId); |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | void PhysicsClientExample::enqueueCommand(int commandId) |
| 228 | { |
no test coverage detected