mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
22 lines
332 B
Ruby
22 lines
332 B
Ruby
class IMICFPS
|
|
class Scene
|
|
attr_reader :camera, :entities, :lights
|
|
|
|
def initialize
|
|
@camera = PerspectiveCamera.new(position: Vector.new, aspect_ratio: $window.aspect_ratio )
|
|
@entities = []
|
|
@lights = []
|
|
|
|
setup
|
|
end
|
|
|
|
def setup
|
|
end
|
|
|
|
def draw
|
|
end
|
|
|
|
def update(dt)
|
|
end
|
|
end
|
|
end |