Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ode/ode-0.9/contrib/BreakableJoints/diff/common.h.diff @ 216

Last change on this file since 216 was 216, checked in by mathiask, 17 years ago

[Physik] add ode-0.9

File size: 967 bytes
Line 
1208,227d207
2< /******************** breakable joint contribution ***********************/
3< /* joint break callback function */
4< typedef void dJointBreakCallback (dJointID joint);
5<
6< /* joint break modes */
7< enum {
8<   // if this flag is set, the joint wil break
9<   dJOINT_BROKEN =             0x0001,
10<   // if this flag is set, the joint wil be deleted when it breaks
11<   dJOINT_DELETE_ON_BREAK =    0x0002,
12<   // if this flag is set, the joint can break at a certain force on body 1
13<   dJOINT_BREAK_AT_B1_FORCE =  0x0004,
14<   // if this flag is set, the joint can break at a certain torque on body 1
15<   dJOINT_BREAK_AT_B1_TORQUE = 0x0008,
16<   // if this flag is set, the joint can break at a certain force on body 2
17<   dJOINT_BREAK_AT_B2_FORCE =  0x0010,
18<   // if this flag is set, the joint can break at a certain torque on body 2
19<   dJOINT_BREAK_AT_B2_TORQUE = 0x0020
20< };
21< /*************************************************************************/
Note: See TracBrowser for help on using the repository browser.