"Triangle returned from triangulation isn't actually a triangle" #145
Labels
topic: core
Issues relating to core geometry, operations, algorithms
type: bug
Something isn't working
Milestone
When setting the
num_points
parameter of the star model to3
, I'm getting this error:Here's the offending piece of code: https://github.com/hannobraun/Fornjot/blob/0c467cd717cb53dbee8cc7564628cbf051c02895/src/kernel/util.rs#L17-L26
Unless there's a bug in that
corner_direction
function (or our use of it), that means the three points are on a line, or at least two are identical. Might be an issue with Spade or (more likely) a duplicated vertex.I'm labeling this as blocked on #105, as I think it would be a mistake to fix any more triangulation issues before we have a test suite in place.
The text was updated successfully, but these errors were encountered: