| 105 | } |
| 106 | |
| 107 | RGBSpectrum SampledSpectrum::ToRGBSpectrum() const { |
| 108 | float rgb[3]; |
| 109 | ToRGB(rgb); |
| 110 | return RGBSpectrum::FromRGB(rgb); |
| 111 | } |
| 112 | |
| 113 | SampledSpectrum SampledSpectrum::FromRGB(const float rgb[3], |
| 114 | SpectrumType type) { |
nothing calls this directly
no outgoing calls
no test coverage detected