mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 02:18:28 +00:00
Prepare for follow-on change
This commit is contained in:
parent
1f914948c7
commit
8dbb2e4a95
@ -10,10 +10,15 @@ pub struct Sketch {
|
||||
|
||||
impl Sketch {
|
||||
pub fn to_face(&self, surface: Plane) -> Face {
|
||||
let vertices = self.points.iter().copied().map(|point| {
|
||||
let point = surface.point_from_local(point);
|
||||
Handle::new(Vertex::new(point))
|
||||
});
|
||||
let vertices = self
|
||||
.points
|
||||
.iter()
|
||||
.copied()
|
||||
.map(|point| {
|
||||
let point = surface.point_from_local(point);
|
||||
Handle::new(Vertex::new(point))
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
let half_edges = vertices
|
||||
.into_iter()
|
||||
|
Loading…
Reference in New Issue
Block a user