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

Method AddObject

3rd_party/Src/ode/ode/src/collision_quadtreespace.cpp:239–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void Block::AddObject(dGeomID Object){
240 // Add the geom
241 Object->next = First;
242 First = Object;
243 Object->tome = (dxGeom**)this;
244
245 // Now traverse upwards to tell that we have a geom
246 Block* Block = this;
247 do{
248 Block->GeomCount++;
249 Block = Block->Parent;
250 }
251 while (Block);
252}
253
254void Block::DelObject(dGeomID Object){
255 // Del the geom

Callers 2

TraverseMethod · 0.45
addMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected