Hello,
I am trying to create a mesh with vertices that I provide at certain positions. I know in other languages one can simply provide an array of vector3's and a list that has the vertice's indexes in the order of which triangles to enclose. An example is that the triangle list will be 0, 2, 3 for the first triangle and 1, 2, 3 for the second. I am not quite sure how to do this in swift. Could you upload a basic code framework that I could use where I simply input the vertices position and triangle arrays. Are there any nuances I should be aware of regarding moving vertices.
Thanks