veloren/worldsim
Marcel Märtens 750048f26c Put the .trav() function into a new Trait: EntryLayer
this trait needs to be implemented for the TopMost Layer of a LodTree as well of the LodDelta.
This can be archived by a lot of trait magic.
However, due to a fight with the borrow checker, this commit here contains a lot of weird lifetimes, i really have no idea, and prob will cleanup this, BUT, it compiles, and tests run green
2021-08-13 10:51:29 +02:00
..
src Put the .trav() function into a new Trait: EntryLayer 2021-08-13 10:51:29 +02:00
Cargo.toml move away from the system that a layer stores it's parent index, but let a layer store their index used to access the child data. which makes everything much clearer and nicer to read and easier to develop on 2021-08-13 10:47:46 +02:00