diff options
author | Julian T <julian@jtle.dk> | 2021-01-29 00:58:32 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-01-29 00:58:32 +0100 |
commit | fdb3e8cb8d53449c107388e143345beae162f95e (patch) | |
tree | 7a04102eb2722d2fddeefd0b2e1fa0e8a4e995f3 /src/camera/filter/mod.rs | |
parent | f467334b26f31b19ebbd222de2b4167b1538ccee (diff) |
Finish get_tile on Film
Diffstat (limited to 'src/camera/filter/mod.rs')
-rw-r--r-- | src/camera/filter/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/camera/filter/mod.rs b/src/camera/filter/mod.rs index bfa17bb..01d094c 100644 --- a/src/camera/filter/mod.rs +++ b/src/camera/filter/mod.rs @@ -26,7 +26,7 @@ impl Eval for Filter { } impl Filter { - fn new_box(radius: &Vector2f) -> Filter { - Filter { radius: radius.clone(), eval: Box::new(BoxFilter {}) } + pub fn new_box(radius: Vector2f) -> Filter { + Filter { radius: radius, eval: Box::new(BoxFilter {}) } } } |