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