MCPcopy Create free account
hub / github.com/SpartanJ/eepp / blockerSeparate

Function blockerSeparate

src/examples/physics/physics.cpp:276–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276void blockerSeparate( Arbiter* arb, Space*, void* ) {
277 Shape *a, *b;
278 arb->getShapes( &a, &b );
279
280 Emitter* emitter = (Emitter*)a->getData();
281
282 emitter->blocked--;
283}
284
285void postStepRemove( Space* space, void* tshape, void* ) {
286 Shape* shape = reinterpret_cast<Shape*>( tshape );

Callers 1

demo2CreateMethod · 0.85

Calls 2

getShapesMethod · 0.80
getDataMethod · 0.45

Tested by 1

demo2CreateMethod · 0.68