| 1024 | |
| 1025 | |
| 1026 | void dJointDestroy (dxJoint *j) |
| 1027 | { |
| 1028 | dAASSERT (j); |
| 1029 | if (j->flags & dJOINT_INGROUP) return; |
| 1030 | removeJointReferencesFromAttachedBodies (j); |
| 1031 | if (j->world) { |
| 1032 | removeObjectFromList (j); |
| 1033 | j->world->nj--; |
| 1034 | } |
| 1035 | dFree (j,j->vtable->size); |
| 1036 | } |
| 1037 | |
| 1038 | |
| 1039 | dJointGroupID dJointGroupCreate (int max_size) |
no test coverage detected