Ah, now wait a second. . . I see what you mean. duh!
I wasn't thinking of triangles joined together. . .
You win! :O)
Actually, this will all be taken in to control when I build in the edge data - I will make sure each edge is listed once and only once, with the 2 triangles linked by reference. I'll probably use some kind of array:
edgeTriangle(v1, v2, triangle)
where triangle can be 0 or 1, and the size of dimensions v1 and v2 total the number of vertices in the mesh.
Actually this might be dumb because most of the array won't be used and I certainly won't want to loop through all of it. . . I'll figure something out, perhaps another Bank :O)
I wasn't thinking of triangles joined together. . .
You win! :O)
Actually, this will all be taken in to control when I build in the edge data - I will make sure each edge is listed once and only once, with the 2 triangles linked by reference. I'll probably use some kind of array:
edgeTriangle(v1, v2, triangle)
where triangle can be 0 or 1, and the size of dimensions v1 and v2 total the number of vertices in the mesh.
Actually this might be dumb because most of the array won't be used and I certainly won't want to loop through all of it. . . I'll figure something out, perhaps another Bank :O)