diff --git a/Sources/GLTFSceneKit/GLTFUnarchiver.swift b/Sources/GLTFSceneKit/GLTFUnarchiver.swift index 1019af32..5bf7befb 100644 --- a/Sources/GLTFSceneKit/GLTFUnarchiver.swift +++ b/Sources/GLTFSceneKit/GLTFUnarchiver.swift @@ -583,33 +583,38 @@ public class GLTFUnarchiver { var counts = [Int](repeating: 0, count: vertexArray.count) for element in elements { - if element.primitiveType != .triangles { - throw GLTFUnarchiveError.NotSupported("createNormalSource: only triangles primitveType is supported: \(element.primitiveType)") - } - - let indexArray = createIndexArray(from: element) - - var indexPos = 0 - for _ in 0..