So even Swift 6, Xcode 16 did not help. it seems to be a bug within the original code. The function is not working as expected. I would like to ask to solve the bug by the function: renderEncoder?.drawPrimitives(type: .line, vertexStart: 0, vertexCount: 3) and renderEncoder?.drawPrimitives(type: .lineStrip, vertexStart: 0, vertexCount: 3)
Topic:
Graphics & Games
SubTopic:
Metal