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

Method pointQueryFirst

src/modules/physics/src/eepp/physics/space.cpp:247–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247Shape* Space::pointQueryFirst( cVect point, cpLayers layers, cpGroup group ) {
248 cpShape* shape = cpSpacePointQueryFirst( mSpace, tocpv( point ), layers, group );
249
250 if ( NULL != shape ) {
251 return reinterpret_cast<Shape*>( shape->data );
252 }
253
254 return NULL;
255}
256
257Shape* Space::segmentQueryFirst( cVect start, cVect end, cpLayers layers, cpGroup group,
258 cpSegmentQueryInfo* out ) {

Callers 2

physicsUpdateMethod · 0.80
physicsUpdateFunction · 0.80

Calls

no outgoing calls

Tested by 1

physicsUpdateMethod · 0.64