Fixed always adding a new node to AABBTree when updating a node.

This commit is contained in:
2019-02-25 12:51:26 -06:00
parent 97818c8a33
commit 0d7210b3f7
4 changed files with 14 additions and 12 deletions

View File

@@ -28,9 +28,9 @@ class IMICFPS
@physics_manager.update
# binding.irb
p @aabb_tree
# p @aabb_tree
collisions.each do |ent, list|
puts "#{ent.class} -> [#{list.map{|e| e.class}.join(', ')}]"
# puts "#{ent.class} -> [#{list.map{|e| e.class}.join(', ')}]"
end
end