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 {
|
||||
index: usize,
|
||||
area: Option<f32>,
|
||||
terminal_edge: Option<Edge>,
|
||||
edges_with_lengths: Option<Vec<(Edge, f32)>>,
|
||||
node_connections: Option<HashSet<usize>>,
|
||||
terminal_edge: Option<Edge>
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
@ -85,9 +83,7 @@ impl GeometryData {
|
|||
self.triangles.push(TriangleData {
|
||||
index,
|
||||
area,
|
||||
terminal_edge,
|
||||
edges_with_lengths: Some(edges_with_lengths_temp), // Moved here, no clone required.
|
||||
node_connections: None,
|
||||
terminal_edge
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue