pub trait LeafMerge: Sized {
fn leaf_merge(a: Self, b: Self) -> Self;
}
Expand description
Define how to merge two leaves at the same depth into a single instance, to allow collapsing Octree branches.
Required Methods
sourcefn leaf_merge(a: Self, b: Self) -> Self
fn leaf_merge(a: Self, b: Self) -> Self
Merge two leafs into a single leaf.