pbrt_r3/core/spectrum/
mod.rs

1pub mod blackbody;
2mod config;
3mod constants;
4mod convert;
5mod data;
6mod load;
7pub mod rgb;
8pub mod sampled;
9pub mod utils;
10
11pub use convert::*;
12//pub use data::*;
13pub use rgb::*;
14pub use sampled::*;
15
16#[cfg(not(feature = "sampled-spectrum"))]
17pub type Spectrum = RGBSpectrum;
18
19#[cfg(feature = "sampled-spectrum")]
20pub type Spectrum = SampledSpectrum;