diff options
author | metamuffin <yvchraiqi@protonmail.com> | 2022-06-05 16:17:11 +0200 |
---|---|---|
committer | metamuffin <yvchraiqi@protonmail.com> | 2022-06-05 16:17:11 +0200 |
commit | 963c729bcdc1e5f82890f96bc55f1532f6eaf763 (patch) | |
tree | 07656d74aee13d075faba4cc13ca28e13dcb7c4a /src/lib.rs | |
parent | 1b70d7d654bef22661cf3184806175fcb17e1bd6 (diff) | |
download | blubcat-963c729bcdc1e5f82890f96bc55f1532f6eaf763.tar blubcat-963c729bcdc1e5f82890f96bc55f1532f6eaf763.tar.bz2 blubcat-963c729bcdc1e5f82890f96bc55f1532f6eaf763.tar.zst |
thing
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..76b35c9 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,9 @@ +use color::Color; + +pub mod color; +pub mod transform; +pub mod pattern; + +pub trait Sample { + fn sample(&mut self, x: f64, y: f64) -> Color; +} |