Closed NMO13 closed 8 years ago
I'm not 100% sure but I think the following case is not correctly handled:
PlanktonMesh pMesh = new PlanktonMesh(); pMesh.Vertices.Add(0, 0, 0); pMesh.Vertices.Add(5, 0, 0); pMesh.Vertices.Add(5, 5, 0); pMesh.Vertices.Add(3, -5, 0); pMesh.Vertices.Add(7, 0, 0); pMesh.Faces.AddFace(0, 1, 2); pMesh.Faces.AddFace(0, 3, 4);
This looks something like this:
But shouldn't it look like this?
Not quite. You need to explicitly specify the fourth vertex if you want it to be included, i.e. pMesh.Faces.AddFace(0, 3, 4, 1);
pMesh.Faces.AddFace(0, 3, 4, 1);
Ok, yes makes sense. Thanks.
No problem. Thanks for getting in touch all the same!
I'm not 100% sure but I think the following case is not correctly handled:
This looks something like this:
But shouldn't it look like this?