In metal sphere is created with this code
let sphereMesh = MDLMesh(
sphereWithExtent: [0.4, 0.4, 0.4],
segments: [10, 10],
inwardNormals: false,
geometryType: .triangles,
allocator: allocator)
How do I create a sphere that radius is different various location?
I am not sure I understand what you’re asking. Do you want to create a sphere whose radius changes depending on the location? Could you please elaborate?