aboutsummaryrefslogtreecommitdiff
path: root/src/camera/filter
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-01-29 00:58:32 +0100
committerJulian T <julian@jtle.dk>2021-01-29 00:58:32 +0100
commitfdb3e8cb8d53449c107388e143345beae162f95e (patch)
tree7a04102eb2722d2fddeefd0b2e1fa0e8a4e995f3 /src/camera/filter
parentf467334b26f31b19ebbd222de2b4167b1538ccee (diff)
Finish get_tile on Film
Diffstat (limited to 'src/camera/filter')
-rw-r--r--src/camera/filter/mod.rs4
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 {}) }
}
}