Sha256: e32555e06295402afd36488926ada07440daabf39469a93901e483eddca3c7a1
Contents?: true
Size: 805 Bytes
Versions: 1
Compression:
Stored size: 805 Bytes
Contents
# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved. # License: Ruby License require "sdl" require "opengl" require "sgl/sgl-color" require "sgl/opengl-window" require "sgl/opengl-color" require "sgl/opengl-event" require "sgl/opengl-draw" require "sgl/sgl-sound" module SGL class Application def initialize Thread.abort_on_exception = true @options = default_options initialize_window # opengl-window.rb initialize_color # sgl-color.rb initialize_event # opengl-event.rb end def default_options { :fullscreen=>nil, :fov=>45, :cursor=>nil, :depth=>false, :culling=>false, :smooth=>false, :delaytime=>1.0/60, :framerate=>nil, :runtime=>nil, } end private :default_options end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sgl-1.0.0 | lib/sgl/opengl-app.rb |