mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Refactored Model to make faces first class objects for use in AABBTree, renamed BoundingBox.intersect to intersect?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user