mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
20 lines
280 B
Ruby
20 lines
280 B
Ruby
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
|