common.h.diff 967 B

123456789101112131415161718192021
  1. 208,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. < /*************************************************************************/