mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
21 lines
310 B
Ruby
21 lines
310 B
Ruby
class IMICFPS
|
|
class Skydome < Entity
|
|
def setup
|
|
bind_model("base", "skydome")
|
|
@collision = :none
|
|
end
|
|
|
|
def draw
|
|
glDisable(GL_LIGHTING)
|
|
super
|
|
glEnable(GL_LIGHTING)
|
|
end
|
|
|
|
def update
|
|
@rotation.y += 0.01
|
|
@rotation.y %= 360
|
|
super
|
|
end
|
|
end
|
|
end
|