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:
parent
46a03acd30
commit
cc14c4e5d7
5 changed files with 110 additions and 64 deletions
|
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue