aboutsummaryrefslogtreecommitdiff
path: root/src/core
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/core
parent02fedfc9653cb37219849de7dae14ae13d2f6c36 (diff)
Add XY rectangle
Diffstat (limited to 'src/core')
-rw-r--r--src/core/spectrum.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/spectrum.rs b/src/core/spectrum.rs
index ed3505b..e683eb1 100644
--- a/src/core/spectrum.rs
+++ b/src/core/spectrum.rs
@@ -5,7 +5,7 @@ use crate::Float;
// TODO implement SampledSpectrum instead for nicer images
-#[derive(Clone, Copy, Default)]
+#[derive(Clone, Copy, Default, Debug)]
pub struct Spectrum {
c: [Float; 3],
}