mirror of https://github.com/hannobraun/Fornjot
Update variable name
This commit is contained in:
parent
fe186e0b7d
commit
285544f6b8
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue