diff options
author | Julian T <julian@jtle.dk> | 2021-08-05 15:42:43 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-08-05 15:42:43 +0200 |
commit | c5505ab84820248c6dba35fc06aef9e0ced183de (patch) | |
tree | bb1d508c31c6a5aa5d57aed86daaeb6f9cffc88e /src/trace/pathtrace.rs | |
parent | 02fedfc9653cb37219849de7dae14ae13d2f6c36 (diff) |
Add XY rectangle
Diffstat (limited to 'src/trace/pathtrace.rs')
-rw-r--r-- | src/trace/pathtrace.rs | 1 |
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; |