mirror of
https://github.com/hannobraun/Fornjot
synced 2025-07-28 12:56:06 +00:00
Make argument name more explicit
This commit is contained in:
parent
baf51fe38b
commit
a63ad3080d
@ -38,7 +38,7 @@ pub trait SweepCycle {
|
|||||||
/// operation is called in, and therefore falls outside of its scope.
|
/// operation is called in, and therefore falls outside of its scope.
|
||||||
fn sweep_cycle(
|
fn sweep_cycle(
|
||||||
&self,
|
&self,
|
||||||
surface: Handle<Surface>,
|
bottom_surface: Handle<Surface>,
|
||||||
top_surface: Handle<Surface>,
|
top_surface: Handle<Surface>,
|
||||||
color: Option<Color>,
|
color: Option<Color>,
|
||||||
path: impl Into<Vector<3>>,
|
path: impl Into<Vector<3>>,
|
||||||
@ -50,7 +50,7 @@ pub trait SweepCycle {
|
|||||||
impl SweepCycle for Cycle {
|
impl SweepCycle for Cycle {
|
||||||
fn sweep_cycle(
|
fn sweep_cycle(
|
||||||
&self,
|
&self,
|
||||||
surface: Handle<Surface>,
|
bottom_surface: Handle<Surface>,
|
||||||
top_surface: Handle<Surface>,
|
top_surface: Handle<Surface>,
|
||||||
color: Option<Color>,
|
color: Option<Color>,
|
||||||
path: impl Into<Vector<3>>,
|
path: impl Into<Vector<3>>,
|
||||||
@ -68,7 +68,7 @@ impl SweepCycle for Cycle {
|
|||||||
|
|
||||||
let (side_face, top_half_edge) = bottom_half_edge.sweep_half_edge(
|
let (side_face, top_half_edge) = bottom_half_edge.sweep_half_edge(
|
||||||
bottom_half_edge_next.start_vertex().clone(),
|
bottom_half_edge_next.start_vertex().clone(),
|
||||||
surface.clone(),
|
bottom_surface.clone(),
|
||||||
color,
|
color,
|
||||||
path,
|
path,
|
||||||
cache,
|
cache,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user