mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-27 09:35:52 +00:00
Refactor
This commit is contained in:
parent
e53c9655f1
commit
98c28517cc
@ -70,7 +70,7 @@ mod tests {
|
||||
use crate::{
|
||||
kernel::{
|
||||
geometry::{surfaces::Swept, Surface},
|
||||
shape::Shape,
|
||||
shape::{handle::Handle, Shape},
|
||||
topology::{
|
||||
edges::{Cycle, Edge},
|
||||
faces::Face,
|
||||
@ -104,7 +104,7 @@ mod tests {
|
||||
|
||||
pub struct Triangle {
|
||||
shape: Shape,
|
||||
face: Face,
|
||||
face: Handle<Face>,
|
||||
}
|
||||
|
||||
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 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user