# File ../lib/fox/glgroup.rb, line 59 def bounds box = nil if @list.empty? box = FXRange.new(0.0, 0.0, 0.0, 0.0, 0.0, 0.0) else box = FXRange.new(FLT_MAX, -FLT_MAX, FLT_MAX, -FLT_MAX, FLT_MAX, -FLT_MAX) @list.each { |obj| box.include(obj.bounds) } end box end