mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-06 23:35:53 +00:00
Avoid useless allocation
This commit is contained in:
parent
69f5e092ca
commit
52816b6c96
@ -89,7 +89,7 @@ impl HalfEdgeApprox {
|
|||||||
let mut points = Vec::new();
|
let mut points = Vec::new();
|
||||||
|
|
||||||
points.push(self.first.clone());
|
points.push(self.first.clone());
|
||||||
points.extend(self.points.clone());
|
points.extend(self.points.iter().cloned());
|
||||||
|
|
||||||
points
|
points
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user