Simplify variable name

This commit is contained in:
Hanno Braun 2023-02-22 13:42:21 +01:00
parent 52816b6c96
commit 6c717920d0

View File

@ -36,8 +36,7 @@ impl Approx for (&Handle<HalfEdge>, &Surface) {
.with_source((half_edge.clone(), half_edge.boundary()[0])); .with_source((half_edge.clone(), half_edge.boundary()[0]));
let points = { let points = {
let global_curve_approx = match cache let approx = match cache.get(half_edge.global_form().clone(), range)
.get(half_edge.global_form().clone(), range)
{ {
Some(approx) => approx, Some(approx) => approx,
None => { None => {
@ -51,7 +50,7 @@ impl Approx for (&Handle<HalfEdge>, &Surface) {
} }
}; };
global_curve_approx approx
.points .points
.into_iter() .into_iter()
.map(|point| { .map(|point| {