Files
i-mic-fps/lib/game_objects/entities/skydome.rb
2020-12-02 17:37:48 -06:00

22 lines
311 B
Ruby

# frozen_string_literal: true
class IMICFPS
class Skydome < Entity
def setup
@collision = :none
end
def draw
glDisable(GL_LIGHTING)
super
glEnable(GL_LIGHTING)
end
def update
@orientation.y += 0.01
@orientation.y %= 360
super
end
end
end