remove uses of Split, implement Bsp::area

This commit is contained in:
🪞👃🪞 2024-12-31 17:01:24 +01:00
parent 9f7b23a252
commit aa910540c0
5 changed files with 79 additions and 57 deletions

View file

@ -1,6 +1,6 @@
//! Groupings of elements.
mod split; pub use self::split::*;
//mod split; pub use self::split::*;
//mod stack; pub use self::stack::*;
use crate::*;
@ -82,7 +82,7 @@ impl<E: Engine, A: Content<E>, B: Content<E>> Content<E> for Either<E, A, B> {
}
}
pub trait Render<E: Engine> {
trait Render<E: Engine> {
fn area (&self, to: E::Area) -> E::Area;
fn render (&self, to: &mut E::Output);
}