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

Function b3SubmitClientCommand

examples/SharedMemory/PhysicsClientC_API.cpp:2933–2944  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2931}
2932
2933B3_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

Calls 1

submitClientCommandMethod · 0.45

Tested by

no test coverage detected