mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-26 00:55:50 +00:00
Rename variables to increase clarity
This commit is contained in:
parent
d321f1c1d1
commit
de7d03efc4
@ -50,11 +50,11 @@ impl ToShape for fj::Difference2d {
|
|||||||
|
|
||||||
{
|
{
|
||||||
// Can't panic, as we just verified that both shapes have one face.
|
// Can't panic, as we just verified that both shapes have one face.
|
||||||
let [a, b] = [&mut a, &mut b]
|
let [face_a, face_b] = [&mut a, &mut b]
|
||||||
.map(|shape| shape.faces().all().next().unwrap());
|
.map(|shape| shape.faces().all().next().unwrap());
|
||||||
|
|
||||||
let (a, b, surface_a, surface_b) =
|
let (a, b, surface_a, surface_b) =
|
||||||
match ((*a).clone(), (*b).clone()) {
|
match ((*face_a).clone(), (*face_b).clone()) {
|
||||||
(
|
(
|
||||||
Face::Face {
|
Face::Face {
|
||||||
cycles: a,
|
cycles: a,
|
||||||
|
Loading…
Reference in New Issue
Block a user