From f18435dd677c433f4b04a4339b210a9e67d4448b Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 26 Mar 2024 11:21:45 +0100 Subject: [PATCH] Update variable name --- crates/fj-core/src/algorithms/bounding_volume/cycle.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/fj-core/src/algorithms/bounding_volume/cycle.rs b/crates/fj-core/src/algorithms/bounding_volume/cycle.rs index 195c4d3ba..8e28b06b3 100644 --- a/crates/fj-core/src/algorithms/bounding_volume/cycle.rs +++ b/crates/fj-core/src/algorithms/bounding_volume/cycle.rs @@ -8,9 +8,10 @@ impl super::BoundingVolume<2> for &Cycle { let mut aabb: Option> = None; - for edge in cycle.half_edges() { - let new_aabb = - edge.aabb(geometry).expect("`Edge` can always compute AABB"); + for half_edge in cycle.half_edges() { + let new_aabb = half_edge + .aabb(geometry) + .expect("`Edge` can always compute AABB"); aabb = Some(aabb.map_or(new_aabb, |aabb| aabb.merged(&new_aabb))); }