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

Function addObjectToList

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

Source from the content-addressed store, hash-verified

67// add an object `obj' to the list who's head pointer is pointed to by `first'.
68
69static inline void addObjectToList (dObject *obj, dObject **first)
70{
71 obj->next = *first;
72 obj->tome = first;
73 if (*first) (*first)->tome = &obj->next;
74 (*first) = obj;
75}
76
77
78// remove the object from the linked list

Callers 2

dWorldAddBodyFunction · 0.85
dWorldAddJointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected