This commit is contained in:
Hanno Braun 2022-03-08 13:53:32 +01:00
parent e53c9655f1
commit 98c28517cc

View File

@ -70,7 +70,7 @@ mod tests {
use crate::{ use crate::{
kernel::{ kernel::{
geometry::{surfaces::Swept, Surface}, geometry::{surfaces::Swept, Surface},
shape::Shape, shape::{handle::Handle, Shape},
topology::{ topology::{
edges::{Cycle, Edge}, edges::{Cycle, Edge},
faces::Face, faces::Face,
@ -104,7 +104,7 @@ mod tests {
pub struct Triangle { pub struct Triangle {
shape: Shape, shape: Shape,
face: Face, face: Handle<Face>,
} }
impl Triangle { impl Triangle {
@ -134,9 +134,9 @@ mod tests {
}], }],
}; };
shape.faces().add(abc.clone()); let face = shape.faces().add(abc);
Self { shape, face: abc } Self { shape, face }
} }
} }
} }