SwiftGLTF
SwiftGLTF copied to clipboard
Models fails to import when byteStride is non-zero
The attached model fails to import and I think I tracked it down to this chunk of code.
https://github.com/schwa/SwiftGLTF/blob/3c623dbdb50d6e38ca303f39efc44f2967b03b1c/Sources/SwiftGLTF/gltf.swift#L133-L135
The model's bufferView contains a byteStride
of 12. I've made some attempts at fixing it, but I cant quite seem to get the data right here.