mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
remove uses of Split, implement Bsp::area
This commit is contained in:
parent
9f7b23a252
commit
aa910540c0
5 changed files with 79 additions and 57 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue