Improved shader error formatting, hide puts statements that are only useful in debug mode.

This commit is contained in:
2018-12-11 11:56:53 -06:00
parent 6341c3b817
commit 82265394eb
7 changed files with 31 additions and 13 deletions

View File

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