MCPcopy Create free account
hub / github.com/ByteArena/box2d / QueryCallback

Method QueryCallback

DynamicsB2World.go:965–968  ·  view source on GitHub ↗
(proxyId int)

Source from the content-addressed store, hash-verified

963}
964
965func (query *B2WorldQueryWrapper) QueryCallback(proxyId int) bool {
966 proxy := query.BroadPhase.GetUserData(proxyId).(*B2FixtureProxy)
967 return query.Callback(proxy.Fixture)
968}
969
970func (world *B2World) QueryAABB(callback B2BroadPhaseQueryCallback, aabb B2AABB) {
971 wrapper := MakeB2WorldQueryWrapper()

Callers

nothing calls this directly

Calls 1

GetUserDataMethod · 0.65

Tested by

no test coverage detected