MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / removeObjectFromList

Function removeObjectFromList

3rd_party/Src/ode/ode/src/ode.cpp:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78// remove the object from the linked list
79
80static 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

Callers 3

dWorldRemoveBodyFunction · 0.85
dWorldRemoveJointFunction · 0.85
dJointDestroyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected