mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Added evergreen_tree model, added work-in-progress collada parser, renamed ModelLoader to ModelCache
This commit is contained in:
@@ -53,7 +53,7 @@ class IMICFPS
|
||||
hash = @assets[@asset_index]
|
||||
case hash[:type]
|
||||
when :model
|
||||
ModelLoader.new(manifest: hash[:manifest], entity: @dummy_entity)
|
||||
ModelCache.new(manifest: hash[:manifest], entity: @dummy_entity)
|
||||
when :shader
|
||||
if window.config.get(:debug_options, :use_shaders)
|
||||
shader = Shader.new(name: hash[:name], includes_dir: "shaders/include", vertex: "shaders/vertex/#{hash[:name]}.glsl", fragment: "shaders/fragment/#{hash[:name]}.glsl")
|
||||
|
||||
Reference in New Issue
Block a user