diff options
Diffstat (limited to 'libraries/ode-0.9/contrib/BreakableJoints/diff/test_buggy.cpp.diff')
-rw-r--r-- | libraries/ode-0.9/contrib/BreakableJoints/diff/test_buggy.cpp.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libraries/ode-0.9/contrib/BreakableJoints/diff/test_buggy.cpp.diff b/libraries/ode-0.9/contrib/BreakableJoints/diff/test_buggy.cpp.diff new file mode 100644 index 0000000..65770da --- /dev/null +++ b/libraries/ode-0.9/contrib/BreakableJoints/diff/test_buggy.cpp.diff | |||
@@ -0,0 +1,16 @@ | |||
1 | 266,270d265 | ||
2 | < | ||
3 | < // breakable joints contribution | ||
4 | < dJointSetBreakable (joint[i], 1); | ||
5 | < dJointSetBreakMode (joint[i], dJOINT_BREAK_AT_FORCE); | ||
6 | < dJointSetBreakForce (joint[i], 0.5); | ||
7 | 298c293 | ||
8 | < ground_box = dCreateBox (space,2,1.5,5); | ||
9 | --- | ||
10 | > ground_box = dCreateBox (space,2,1.5,1); | ||
11 | 300,301c295,296 | ||
12 | < dRFromAxisAndAngle (R,0,1,0,-0.85); | ||
13 | < dGeomSetPosition (ground_box,5,0,-1); | ||
14 | --- | ||
15 | > dRFromAxisAndAngle (R,0,1,0,-0.15); | ||
16 | > dGeomSetPosition (ground_box,2,0,-0.34); | ||