Update variable name

This commit is contained in:
Hanno Braun 2023-05-04 11:38:53 +02:00
parent fe186e0b7d
commit 285544f6b8
1 changed files with 3 additions and 3 deletions

View File

@ -57,11 +57,11 @@ pub trait BuildShell {
.insert(services) .insert(services)
}); });
let faces = [abc, bad, dac, cbd].map(|face| face.insert(services)); let triangles = [abc, bad, dac, cbd].map(|face| face.insert(services));
let shell = let shell =
Shell::new(faces.iter().map(|triangle| triangle.face.clone())); Shell::new(triangles.iter().map(|triangle| triangle.face.clone()));
let [abc, bad, dac, cbd] = faces; let [abc, bad, dac, cbd] = triangles;
Tetrahedron { Tetrahedron {
shell, shell,