-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hey there, I have an issue with your code in my project. I hope maybe you can help me here.
I am using your code for simple mesh generation. At the moment I am giving the algo its points via GameObjects in hierarchy so I can move them in runtime.
So at the moment I am testing it with a simple form with 5 points. It works but sometimes I get an Error:
"Unable to find a triangle that contains the point ((0.202673, 0.000000)), starting at triangle 2. Are you generating very small triangles?"
The thing is, the triangulation still works and it looks good. I found out, which point causes the error and I slightly understand why, but I am not that much into your code to find the final reason.
So I thought maybe I can just "comment out" that Debug.LogError line because all that this line tells me is, that there is a point that couldnt be found in a triangle. But still the triangulation executes corretly.
Is there more to this error, like it will kill my software later on if I disable the Debug.LogError?
In the following images you can see my construct. The Point on the bottom right is the point that causes the error (Point (0.202673, 0.000000)) . And it appears (for this figure) the moment the triangulation changes. But this is not the case for all figures tho. Sometimes it just appears after moving a point a little bit.
I hope to hear back from you!

