mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 09:58:27 +00:00
Add comment
This commit is contained in:
parent
42d366d684
commit
b5965d34b6
@ -75,6 +75,8 @@ fn points(
|
||||
fn triangles(points: &[TriangulationPoint]) -> Vec<[TriangulationPoint; 3]> {
|
||||
let mut triangulation = spade::ConstrainedDelaunayTriangulation::<_>::new();
|
||||
|
||||
// We're passing duplicate points to the triangulation here. It doesn't seem
|
||||
// to mind though.
|
||||
triangulation
|
||||
.add_constraint_edges(points.iter().copied(), true)
|
||||
.unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user