mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
26 lines
347 B
Ruby
26 lines
347 B
Ruby
class IMICFPS
|
|
class LightManager
|
|
MAX_LIGHTS = OpenGL::GL_MAX_LIGHTS
|
|
LIGHTS = []
|
|
|
|
def self.add_light(model)
|
|
LIGHTS << model
|
|
end
|
|
|
|
def self.find_light()
|
|
end
|
|
|
|
def self.lights
|
|
LIGHTS
|
|
end
|
|
|
|
def self.light_count
|
|
LIGHTS.count+1
|
|
end
|
|
|
|
def self.clear_lights
|
|
LIGHTS.clear
|
|
end
|
|
end
|
|
end
|