aboutsummaryrefslogtreecommitdiff
path: root/src/trace
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace')
-rw-r--r--src/trace/pathtrace.rs1
1 files changed, 0 insertions, 1 deletions
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;