Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BroadPhase ¶ added in v0.2.0
func BroadPhase(c *cache.C, root cid.ID, data map[id.ID]hyperrectangle.R, q hyperrectangle.R) []id.ID
BroadPhase checks a BVH tree for the query rectangle and returns a list of objects which touch the query AABB.
N.B.: This function is identical in implementation to the BVH query op, but is rewritten here to preserve performance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.