Debug commands now affect game

This commit is contained in:
2019-08-07 17:58:30 -05:00
parent 3e6ff5bd4a
commit 3eb34d023e
10 changed files with 21 additions and 29 deletions

View File

@@ -62,7 +62,7 @@ class IMICFPS
end
end
puts "Total Lines: #{lines}" if $debug
puts "Total Lines: #{lines}" if $debug.get(:stats)
calculate_bounding_box(@vertices, @bounding_box)
@objects.each do |o|
calculate_bounding_box(o.vertices, o.bounding_box)