use crate::{
objects::{Face, FaceSet},
storage::Handle,
};
#[derive(Clone, Debug, Eq, PartialEq, Hash, Ord, PartialOrd)]
pub struct Sketch {
faces: FaceSet,
}
impl Sketch {
pub fn new(faces: impl IntoIterator<Item = Handle<Face>>) -> Self {
Self {
faces: faces.into_iter().collect(),
}
}
pub fn faces(&self) -> &FaceSet {
&self.faces
}
}