diff --git a/crates/fj-kernel/src/algorithms/triangulate/delaunay.rs b/crates/fj-kernel/src/algorithms/triangulate/delaunay.rs index bc45a4dee..bc1fcad1f 100644 --- a/crates/fj-kernel/src/algorithms/triangulate/delaunay.rs +++ b/crates/fj-kernel/src/algorithms/triangulate/delaunay.rs @@ -22,7 +22,7 @@ pub fn triangulate( v2.point_surface, ]) .expect("invalid triangle") - .winding_direction(); + .winding(); let required_winding = match coord_handedness { Handedness::LeftHanded => Winding::Cw, diff --git a/crates/fj-math/src/triangle.rs b/crates/fj-math/src/triangle.rs index 2c3cffb32..78f9836f4 100644 --- a/crates/fj-math/src/triangle.rs +++ b/crates/fj-math/src/triangle.rs @@ -58,7 +58,7 @@ impl Triangle { impl Triangle<2> { /// Returns the direction of the line through the points of the triangle. - pub fn winding_direction(&self) -> Winding { + pub fn winding(&self) -> Winding { let [pa, pb, pc] = self.points.map(|point| point.into()); let orient2d = robust_predicates::orient2d(&pa, &pb, &pc);