You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running the following code in unity, and everytime I run it, it comes out with an error of the Index being out of range. My thinking is that everytime I try to get the centroid for "triangle2", the index of Triangle 2 is -1, thus creating the error. Could you please explain what's happening? I'd really appreaciate it.
The text was updated successfully, but these errors were encountered:
mmedinav18
changed the title
Negative value index for Triangle index
Negative value for Triangle index
Jul 30, 2019
You mesh has a boundary loop. When you query for the neighbouring triangles of a boundary edge, one of the results is InvalidID as expected, since there's only one neighbouring triangle.
Hi,
I am running the following code in unity, and everytime I run it, it comes out with an error of the Index being out of range. My thinking is that everytime I try to get the centroid for "triangle2", the index of Triangle 2 is -1, thus creating the error. Could you please explain what's happening? I'd really appreaciate it.
The text was updated successfully, but these errors were encountered: