From b64c7e972c52b7d015d661866f0cf902370343e5 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sat, 6 Feb 2021 23:43:06 +0100 Subject: Implement pathtracing --- src/sample/uniform.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/sample/uniform.rs') diff --git a/src/sample/uniform.rs b/src/sample/uniform.rs index 221fdf8..cc6825a 100644 --- a/src/sample/uniform.rs +++ b/src/sample/uniform.rs @@ -1,4 +1,3 @@ -use crate::core::Vector2f; use crate::Float; use super::Sampler; @@ -25,8 +24,4 @@ impl Sampler for UniformSampler { fn get_sample(&mut self) -> Float { self.d.sample(&mut self.r) } - - fn get_sample_2d(&mut self) -> Vector2f { - Vector2f::new_xy(self.get_sample(), self.get_sample()) - } } -- cgit v1.2.3