Rename argument

This commit is contained in:
Hanno Braun 2022-10-10 20:01:59 +02:00
parent 89a8489601
commit 72f02987d2

View File

@ -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()))