MetalKit / modelio

19 stars 4 forks source link

update for swift4 ? #1

Open JunyiXie opened 6 years ago

hyperknot commented 6 years ago

+1, right now these are the errors:

Renderer.swift:128:34: Argument labels '(with:, options:)' do not match any available overloads

Renderer.swift:141:88: Extra argument 'sourceMeshes' in call

Renderer.swift:158:30: Value of optional type 'MTLCommandBuffer?' not unwrapped; did you mean to use '!' or '?'?

Renderer.swift:179:9: Value of optional type 'MTLCommandBuffer?' not unwrapped; did you mean to use '!' or '?'?

Renderer.swift:180:9: Value of optional type 'MTLCommandBuffer?' not unwrapped; did you mean to use '!' or '?'?