mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 06:00:12 +00:00
6a7efac4c3
see readme.txt for details.
32 lines
1.3 KiB
C
32 lines
1.3 KiB
C
|
|
#ifndef IN_PROCESS_PHYSICS_C_API_H
|
|
#define IN_PROCESS_PHYSICS_C_API_H
|
|
|
|
#include "PhysicsClientC_API.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
///think more about naming. The b3ConnectPhysicsLoopback
|
|
B3_SHARED_API b3PhysicsClientHandle b3CreateInProcessPhysicsServerAndConnect(int argc, char* argv[]);
|
|
B3_SHARED_API b3PhysicsClientHandle b3CreateInProcessPhysicsServerAndConnectSharedMemory(int argc, char* argv[]);
|
|
|
|
B3_SHARED_API b3PhysicsClientHandle b3CreateInProcessPhysicsServerAndConnectMainThread(int argc, char* argv[]);
|
|
B3_SHARED_API b3PhysicsClientHandle b3CreateInProcessPhysicsServerAndConnectMainThreadSharedMemory(int argc, char* argv[]);
|
|
|
|
B3_SHARED_API b3PhysicsClientHandle b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnect(void* guiHelperPtr);
|
|
|
|
///ignore the following APIs, they are for internal use for example browser
|
|
void b3InProcessRenderSceneInternal(b3PhysicsClientHandle clientHandle);
|
|
void b3InProcessDebugDrawInternal(b3PhysicsClientHandle clientHandle, int debugDrawMode);
|
|
int b3InProcessMouseMoveCallback(b3PhysicsClientHandle clientHandle,float x,float y);
|
|
int b3InProcessMouseButtonCallback(b3PhysicsClientHandle clientHandle, int button, int state, float x, float y);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif //IN_PROCESS_PHYSICS_C_API_H
|