OpenSimMirror/libraries/ode-0.9/contrib/BreakableJoints/diff/common.h.diff

22 lines
967 B
Diff
Raw Normal View History

2007-10-19 05:24:38 +00:00
208,227d207
< /******************** breakable joint contribution ***********************/
< /* joint break callback function */
< typedef void dJointBreakCallback (dJointID joint);
<
< /* joint break modes */
< enum {
< // if this flag is set, the joint wil break
< dJOINT_BROKEN = 0x0001,
< // if this flag is set, the joint wil be deleted when it breaks
< dJOINT_DELETE_ON_BREAK = 0x0002,
< // if this flag is set, the joint can break at a certain force on body 1
< dJOINT_BREAK_AT_B1_FORCE = 0x0004,
< // if this flag is set, the joint can break at a certain torque on body 1
< dJOINT_BREAK_AT_B1_TORQUE = 0x0008,
< // if this flag is set, the joint can break at a certain force on body 2
< dJOINT_BREAK_AT_B2_FORCE = 0x0010,
< // if this flag is set, the joint can break at a certain torque on body 2
< dJOINT_BREAK_AT_B2_TORQUE = 0x0020
< };
< /*************************************************************************/