Rename argument

This commit is contained in:
Hanno Braun 2022-10-10 20:02:22 +02:00
parent 72f02987d2
commit 3332b629c9

View File

@ -18,16 +18,16 @@ impl Shape for fj::Sweep {
fn compute_brep( fn compute_brep(
&self, &self,
config: &ValidationConfig, config: &ValidationConfig,
stores: &Objects, objects: &Objects,
planes: &Planes, planes: &Planes,
debug_info: &mut DebugInfo, debug_info: &mut DebugInfo,
) -> Result<Validated<Self::Brep>, ValidationError> { ) -> Result<Validated<Self::Brep>, ValidationError> {
let sketch = self let sketch = self
.shape() .shape()
.compute_brep(config, stores, planes, debug_info)?; .compute_brep(config, objects, planes, debug_info)?;
let path = Vector::from(self.path()); let path = Vector::from(self.path());
let solid = sketch.into_inner().sweep(path, stores); let solid = sketch.into_inner().sweep(path, objects);
solid.validate_with_config(config) solid.validate_with_config(config)
} }