mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
14 lines
265 B
Ruby
14 lines
265 B
Ruby
class IMICFPS
|
|
class Skydome < GameObject
|
|
def setup
|
|
bind_model(ModelLoader.new(type: :obj, file_path: "objects/skydome.obj", game_object: self))
|
|
end
|
|
|
|
def draw
|
|
glDisable(GL_LIGHTING)
|
|
super
|
|
glEnable(GL_LIGHTING)
|
|
end
|
|
end
|
|
end
|