diff options
author | Julian T <julian@jtle.dk> | 2021-01-30 15:37:07 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-01-30 15:37:07 +0100 |
commit | 86303936ab3180828b984ebb256bab8e69dab5cf (patch) | |
tree | e4bfb08d9c73edd12aef944e0d698c03753032da /src/spectrum.rs | |
parent | fdb3e8cb8d53449c107388e143345beae162f95e (diff) |
Finished initial film, reorganization and started work on shapes
Diffstat (limited to 'src/spectrum.rs')
-rw-r--r-- | src/spectrum.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/spectrum.rs b/src/spectrum.rs deleted file mode 100644 index aa37056..0000000 --- a/src/spectrum.rs +++ /dev/null @@ -1,13 +0,0 @@ -use crate::Float; - -// TODO implement SampledSpectrum instead for nicer images - -pub struct Spectrum { - c: [Float; 3], -} - -impl Spectrum { - fn from_rgb(r: Float, g: Float, b: Float) -> Spectrum { - Spectrum { c: [r, g, b] } - } -} |