Refactored Model to make faces first class objects for use in AABBTree, renamed BoundingBox.intersect to intersect?

This commit is contained in:
2019-02-25 17:59:09 -06:00
parent 0d7210b3f7
commit 8ccd1506f3
7 changed files with 60 additions and 32 deletions

View File

@@ -56,7 +56,7 @@ class IMICFPS
end
def search_subtree(bounding_box, items = [])
if @bounding_box.intersect(bounding_box)
if @bounding_box.intersect?(bounding_box)
if leaf?
items << self
else