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