mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-30 05:56:44 +00:00
Make variable name more specific
This commit is contained in:
parent
fcb87e70dd
commit
b67b1b3ee7
@ -169,13 +169,14 @@ mod tests {
|
|||||||
cycle.update_half_edge(
|
cycle.update_half_edge(
|
||||||
cycle.half_edges().nth_circular(0),
|
cycle.half_edges().nth_circular(0),
|
||||||
|half_edge, core| {
|
|half_edge, core| {
|
||||||
let mut geometry = *core
|
let mut half_edge_geom = *core
|
||||||
.layers
|
.layers
|
||||||
.geometry
|
.geometry
|
||||||
.of_half_edge(half_edge);
|
.of_half_edge(half_edge);
|
||||||
geometry.path = geometry.path.reverse();
|
half_edge_geom.path =
|
||||||
geometry.boundary =
|
half_edge_geom.path.reverse();
|
||||||
geometry.boundary.reverse();
|
half_edge_geom.boundary =
|
||||||
|
half_edge_geom.boundary.reverse();
|
||||||
|
|
||||||
let half_edge = HalfEdge::new(
|
let half_edge = HalfEdge::new(
|
||||||
half_edge.curve().clone(),
|
half_edge.curve().clone(),
|
||||||
@ -183,7 +184,7 @@ mod tests {
|
|||||||
)
|
)
|
||||||
.insert(core)
|
.insert(core)
|
||||||
.set_geometry(
|
.set_geometry(
|
||||||
geometry,
|
half_edge_geom,
|
||||||
&mut core.layers.geometry,
|
&mut core.layers.geometry,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user