blob: fb7d5a25eec95b5d4b2cb1e3482fb94470c62c72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![feature(box_syntax)]
use color::Color;
pub mod color;
pub mod pattern;
pub mod transform;
pub trait Sample {
fn sample(&mut self, x: f64, y: f64) -> Color;
fn clone(&self) -> Box<dyn Sample>;
}
|