mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Updated gems, fix issues caused by the removal of $window from cyberarm_engine
This commit is contained in:
@@ -5,7 +5,7 @@ class IMICFPS
|
||||
attr_reader :camera, :entities, :lights
|
||||
|
||||
def initialize
|
||||
@camera = PerspectiveCamera.new(position: Vector.new, aspect_ratio: $window.aspect_ratio)
|
||||
@camera = PerspectiveCamera.new(position: Vector.new, aspect_ratio: CyberarmEngine::Window.instance.aspect_ratio)
|
||||
@entities = []
|
||||
@lights = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user