Ripped IMICFPS::Wavefront::Model to IMICFPS::Model, more refactoring needed.

This commit is contained in:
2019-09-26 14:29:42 -05:00
parent f72008369d
commit f7936b38bc
6 changed files with 285 additions and 283 deletions

View File

@@ -21,7 +21,7 @@ class IMICFPS
unless load_model_from_cache
case @type
when :obj
@model = Wavefront::Model.new(file_path: @model_file, entity: entity)
@model = IMICFPS::Model.new(file_path: @model_file, entity: entity, parser: Wavefront::Parser)
else
raise "Unsupported model type, supported models are: #{@supported_models.join(', ')}"
end