From fdb3e8cb8d53449c107388e143345beae162f95e Mon Sep 17 00:00:00 2001 From: Julian T Date: Fri, 29 Jan 2021 00:58:32 +0100 Subject: Finish get_tile on Film --- src/camera/filter/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/camera/filter') 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 {}) } } } -- cgit v1.2.3