mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-12 13:58:28 +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;
|
let mut aabb: Option<Aabb<2>> = None;
|
||||||
|
|
||||||
for edge in cycle.half_edges() {
|
for half_edge in cycle.half_edges() {
|
||||||
let new_aabb =
|
let new_aabb = half_edge
|
||||||
edge.aabb(geometry).expect("`Edge` can always compute AABB");
|
.aabb(geometry)
|
||||||
|
.expect("`Edge` can always compute AABB");
|
||||||
aabb = Some(aabb.map_or(new_aabb, |aabb| aabb.merged(&new_aabb)));
|
aabb = Some(aabb.map_or(new_aabb, |aabb| aabb.merged(&new_aabb)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user