| 78 | // remove the object from the linked list |
| 79 | |
| 80 | static inline void removeObjectFromList (dObject *obj) |
| 81 | { |
| 82 | if (obj->next) obj->next->tome = obj->tome; |
| 83 | *(obj->tome) = obj->next; |
| 84 | // safeguard |
| 85 | obj->next = 0; |
| 86 | obj->tome = 0; |
| 87 | } |
| 88 | |
| 89 | |
| 90 | // remove the joint from neighbour lists of all connected bodies |
no outgoing calls
no test coverage detected