# pry -r ./irb_requirements.rb require 'rubygems' require 'gosu' require 'opengl' require 'glu' require 'glut' # require 'ashton' include OpenGL include GLUT # include GLU # OpenGL.load_lib() # GLUT.load_lib() # Ashton::ParticleEmitter # test = Ashton::ParticleEmitter.new(1, 1, 4) CURRENT_DIRECTORY = File.expand_path('../', __FILE__) MEDIA_DIRECTORY = File.expand_path('../', __FILE__) + "/media" VENDOR_DIRECTORY = File.expand_path('../', __FILE__) + "/../vendors/" CONFIG_FILE = "#{CURRENT_DIRECTORY}/../config.txt" # include OpenGL # include GLUT # OpenGL.load_lib() # GLUT.load_lib() # CURRENT_DIRECTORY = File.expand_path('../', __FILE__) Dir["#{CURRENT_DIRECTORY}/models/*.rb"].each { |f| require f } Dir["#{CURRENT_DIRECTORY}/lib/*.rb"].each { |f| require f } Dir["#{VENDOR_DIRECTORY}/lib/*.rb"].each { |f| require f }