diff --git a/crates/fj-core/src/validate/face.rs b/crates/fj-core/src/validate/face.rs index d1fdb05f2..fc0bc81ad 100644 --- a/crates/fj-core/src/validate/face.rs +++ b/crates/fj-core/src/validate/face.rs @@ -13,10 +13,10 @@ impl Validate for Face { &self, _: &ValidationConfig, errors: &mut Vec, - _: &Geometry, + geometry: &Geometry, ) { FaceValidationError::check_boundary(self, errors); - FaceValidationError::check_interior_winding(self, errors); + FaceValidationError::check_interior_winding(self, geometry, errors); } } @@ -56,7 +56,11 @@ impl FaceValidationError { // checks for `Cycle` to make sure that the cycle is closed properly. } - fn check_interior_winding(face: &Face, errors: &mut Vec) { + fn check_interior_winding( + face: &Face, + _: &Geometry, + errors: &mut Vec, + ) { if face.region().exterior().half_edges().is_empty() { // Can't determine winding, if the cycle has no edges. Sounds like a // job for a different validation check.