mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Fixed always adding a new node to AABBTree when updating a node.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user