mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 10:28:27 +00:00
Update variable name
This commit is contained in:
parent
33803d3727
commit
f18435dd67
@ -8,9 +8,10 @@ impl super::BoundingVolume<2> for &Cycle {
|
||||
|
||||
let mut aabb: Option<Aabb<2>> = 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)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user