mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Did some reorganizing
This commit is contained in:
4
lib/managers/light_manager.rb
Normal file
4
lib/managers/light_manager.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class IMICFPS
|
||||
class LightManager
|
||||
end
|
||||
end
|
||||
20
lib/managers/object_manager.rb
Normal file
20
lib/managers/object_manager.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
class IMICFPS
|
||||
TextureCoordinate = Struct.new(:u, :v, :weight)
|
||||
Vertex = Struct.new(:x, :y, :z, :weight)
|
||||
Point = Struct.new(:x, :y)
|
||||
Color = Struct.new(:red, :green, :blue, :alpha)
|
||||
|
||||
class ObjectManager
|
||||
OBJECTS = []
|
||||
def self.add_object(model)
|
||||
OBJECTS << model
|
||||
end
|
||||
|
||||
def self.find_object()
|
||||
end
|
||||
|
||||
def self.objects
|
||||
OBJECTS
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user