summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorerwin coumans <erwincoumans@google.com>2016-07-07 19:24:44 -0700
committererwin coumans <erwincoumans@google.com>2016-07-07 19:24:44 -0700
commit60d2b99151650f441f80928d19f01a1e20ae2dc8 (patch)
tree0c1ac1ecbfb255f00a78894b4653cceaf1bd3f03 /test
parentbc5a756c36b2c90dcd0de3071ea13b0f012d8225 (diff)
downloadbullet3-60d2b99151650f441f80928d19f01a1e20ae2dc8.tar.gz
Physics runs in a separate thread from rendering in PhysicsServerExample (preliminary)
Improve rendering performance. OpenVR experience is smooth now. commit needs a bit more testing before pushing in main repo.
Diffstat (limited to 'test')
-rw-r--r--test/SharedMemory/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SharedMemory/test.c b/test/SharedMemory/test.c
index 6bc517c8e..fab7129cc 100644
--- a/test/SharedMemory/test.c
+++ b/test/SharedMemory/test.c
@@ -106,7 +106,7 @@ void testSharedMemory(b3PhysicsClientHandle sm)
b3SharedMemoryCommandHandle command = b3LoadUrdfCommandInit(sm, urdfFileName);
//setting the initial position, orientation and other arguments are optional
- startPosX =0;
+ startPosX =2;
startPosY =0;
startPosZ = 1;
ret = b3LoadUrdfCommandSetStartPosition(command, startPosX,startPosY,startPosZ);