summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuyuan Fu <fuchuyuan.kelly@gmail.com>2019-04-29 10:57:02 -0700
committerChuyuan Fu <fuchuyuan.kelly@gmail.com>2019-05-01 16:56:40 -0700
commit55f9f1eb89ab3c451cf3ee13d192315fce7205cc (patch)
treeca77e96e422f82faf107057be111c194753b9dd7
parentaec9968e281faca7bc56bc05ccaf0ef29d82d062 (diff)
downloadbullet3-55f9f1eb89ab3c451cf3ee13d192315fce7205cc.tar.gz
add LoadSoftbody C API
-rw-r--r--examples/SharedMemory/PhysicsClientC_API.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/SharedMemory/PhysicsClientC_API.h b/examples/SharedMemory/PhysicsClientC_API.h
index 290c8b36b..baf3b87ee 100644
--- a/examples/SharedMemory/PhysicsClientC_API.h
+++ b/examples/SharedMemory/PhysicsClientC_API.h
@@ -614,6 +614,9 @@ extern "C"
B3_SHARED_API int b3LoadSoftBodySetScale(b3SharedMemoryCommandHandle commandHandle, double scale);
B3_SHARED_API int b3LoadSoftBodySetMass(b3SharedMemoryCommandHandle commandHandle, double mass);
B3_SHARED_API int b3LoadSoftBodySetCollisionMargin(b3SharedMemoryCommandHandle commandHandle, double collisionMargin);
+ B3_SHARED_API int b3LoadSoftbodySetStartPosition(b3SharedMemoryCommandHandle commandHandle, double startPosX, double startPosY, double startPosZ);
+ B3_SHARED_API int b3LoadSoftbodySetStartOrientation(b3SharedMemoryCommandHandle commandHandle, double startOrnX, double startOrnY, double startOrnZ, double startOrnW);
+
B3_SHARED_API b3SharedMemoryCommandHandle b3RequestVREventsCommandInit(b3PhysicsClientHandle physClient);
B3_SHARED_API void b3VREventsSetDeviceTypeFilter(b3SharedMemoryCommandHandle commandHandle, int deviceTypeFilter);