removed dead code
This commit is contained in:
parent
b51ace0c99
commit
ee48b1ad3d
1 changed files with 2 additions and 6 deletions
|
|
@ -14,9 +14,7 @@ struct Edge(usize, usize);
|
||||||
struct TriangleData {
|
struct TriangleData {
|
||||||
index: usize,
|
index: usize,
|
||||||
area: Option<f32>,
|
area: Option<f32>,
|
||||||
terminal_edge: Option<Edge>,
|
terminal_edge: Option<Edge>
|
||||||
edges_with_lengths: Option<Vec<(Edge, f32)>>,
|
|
||||||
node_connections: Option<HashSet<usize>>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|
@ -85,9 +83,7 @@ impl GeometryData {
|
||||||
self.triangles.push(TriangleData {
|
self.triangles.push(TriangleData {
|
||||||
index,
|
index,
|
||||||
area,
|
area,
|
||||||
terminal_edge,
|
terminal_edge
|
||||||
edges_with_lengths: Some(edges_with_lengths_temp), // Moved here, no clone required.
|
|
||||||
node_connections: None,
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue