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

Method TestOverlap

CollisionB2BroadPhase.go:57–62  ·  view source on GitHub ↗
(proxyIdA int, proxyIdB int)

Source from the content-addressed store, hash-verified

55}
56
57func (bp B2BroadPhase) TestOverlap(proxyIdA int, proxyIdB int) bool {
58 return B2TestOverlapBoundingBoxes(
59 bp.M_tree.GetFatAABB(proxyIdA),
60 bp.M_tree.GetFatAABB(proxyIdB),
61 )
62}
63
64func (bp B2BroadPhase) GetFatAABB(proxyId int) B2AABB {
65 return bp.M_tree.GetFatAABB(proxyId)

Callers 1

CollideMethod · 0.80

Calls 2

GetFatAABBMethod · 0.45

Tested by

no test coverage detected