fix code + dummy dac
This commit is contained in:
parent
ce86a1cecb
commit
f307fea63c
16 changed files with 88 additions and 26 deletions
|
|
@ -7,6 +7,7 @@ mod flip_vertical;
|
|||
mod grid;
|
||||
|
||||
use crate::point::Point;
|
||||
use crate::worldstate::WorldState;
|
||||
|
||||
// re-export transformers to be abe to use it directly from transformer::
|
||||
pub use translate::Translate;
|
||||
|
|
@ -17,5 +18,9 @@ pub use flip_vertical::FlipVertical;
|
|||
pub use grid::Grid;
|
||||
|
||||
pub trait Transformers {
|
||||
fn apply(&self, point_list: &[Point]) -> Vec<Point>;
|
||||
fn apply(
|
||||
&self,
|
||||
point_list: &[Point],
|
||||
world_state: &WorldState
|
||||
) -> Vec<Point>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue