aboutsummaryrefslogtreecommitdiff
path: root/src/trace
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-08-05 15:42:43 +0200
committerJulian T <julian@jtle.dk>2021-08-05 15:42:43 +0200
commitc5505ab84820248c6dba35fc06aef9e0ced183de (patch)
treebb1d508c31c6a5aa5d57aed86daaeb6f9cffc88e /src/trace
parent02fedfc9653cb37219849de7dae14ae13d2f6c36 (diff)
Add XY rectangle
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;