From c5505ab84820248c6dba35fc06aef9e0ced183de Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 5 Aug 2021 15:42:43 +0200 Subject: Add XY rectangle --- src/trace/pathtrace.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/trace') diff --git a/src/trace/pathtrace.rs b/src/trace/pathtrace.rs index f53e433..cebbaa1 100644 --- a/src/trace/pathtrace.rs +++ b/src/trace/pathtrace.rs @@ -28,7 +28,6 @@ impl PathTracer<'_> { } if let Some(i) = self.scn.intersect(ray) { - // Extract material or default if let Some(mat) = i.m { let mut col = Spectrum::ZERO; -- cgit v1.2.3