| 2931 | } |
| 2932 | |
| 2933 | B3_SHARED_API int b3SubmitClientCommand(b3PhysicsClientHandle physClient, const b3SharedMemoryCommandHandle commandHandle) |
| 2934 | { |
| 2935 | struct SharedMemoryCommand* command = (struct SharedMemoryCommand*)commandHandle; |
| 2936 | PhysicsClient* cl = (PhysicsClient*)physClient; |
| 2937 | b3Assert(command); |
| 2938 | b3Assert(cl); |
| 2939 | if (command && cl) |
| 2940 | { |
| 2941 | return (int)cl->submitClientCommand(*command); |
| 2942 | } |
| 2943 | return -1; |
| 2944 | } |
| 2945 | |
| 2946 | #include "../Utils/b3Clock.h" |
| 2947 |
no test coverage detected