mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-18 22:26:09 +00:00
Rename argument
This commit is contained in:
parent
89a8489601
commit
72f02987d2
@ -18,7 +18,7 @@ impl Shape for fj::Sketch {
|
||||
fn compute_brep(
|
||||
&self,
|
||||
config: &ValidationConfig,
|
||||
stores: &Objects,
|
||||
objects: &Objects,
|
||||
planes: &Planes,
|
||||
_: &mut DebugInfo,
|
||||
) -> Result<Validated<Self::Brep>, ValidationError> {
|
||||
@ -32,7 +32,7 @@ impl Shape for fj::Sketch {
|
||||
let half_edge = HalfEdge::partial()
|
||||
.with_surface(Some(surface.clone()))
|
||||
.as_circle_from_radius(circle.radius())
|
||||
.build(stores);
|
||||
.build(objects);
|
||||
let cycle = Cycle::new(surface, [half_edge]);
|
||||
|
||||
Face::from_exterior(cycle).with_color(Color(self.color()))
|
||||
@ -41,7 +41,7 @@ impl Shape for fj::Sketch {
|
||||
let points =
|
||||
poly_chain.to_points().into_iter().map(Point::from);
|
||||
|
||||
Face::builder(stores, surface)
|
||||
Face::builder(objects, surface)
|
||||
.with_exterior_polygon_from_points(points)
|
||||
.build()
|
||||
.with_color(Color(self.color()))
|
||||
|
Loading…
Reference in New Issue
Block a user