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