1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 18:54:05 +02:00

some more sub-neighbour rework

This commit is contained in:
Robin Appelman 2022-12-23 23:51:29 +01:00
commit cc14c4e5d7
5 changed files with 110 additions and 64 deletions

View file

@ -7,8 +7,7 @@ impl<'a> Handle<'a, DisplacementInfo> {
self.data
.edge_neighbours
.iter()
.flat_map(|edge| &edge.sub_neighbours)
.filter_map(|sub| sub.as_ref())
.flat_map(|edge| edge.iter())
.map(|sub| Handle::new(self.bsp, sub))
}