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