mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-15 03:35:52 +00:00
Rename argument
This commit is contained in:
parent
61e9510e7c
commit
da5cf263a1
@ -19,7 +19,7 @@ impl Shape for fj::Difference2d {
|
|||||||
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> {
|
||||||
@ -36,7 +36,7 @@ impl Shape for fj::Difference2d {
|
|||||||
// - https://doc.rust-lang.org/std/primitive.array.html#method.try_map
|
// - https://doc.rust-lang.org/std/primitive.array.html#method.try_map
|
||||||
let [a, b] = self.shapes();
|
let [a, b] = self.shapes();
|
||||||
let [a, b] = [a, b].map(|shape| {
|
let [a, b] = [a, b].map(|shape| {
|
||||||
shape.compute_brep(config, stores, planes, debug_info)
|
shape.compute_brep(config, objects, planes, debug_info)
|
||||||
});
|
});
|
||||||
let [a, b] = [a?, b?];
|
let [a, b] = [a?, b?];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user