Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
TTristimulusSpectrum.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace ph::math
6{
7
8template<EColorSpace COLOR_SPACE, typename T>
10 public TSpectrumBase<TTristimulusSpectrum<COLOR_SPACE, T>, COLOR_SPACE, T, 3>
11{
12private:
14
15protected:
16 using Base::m;
17
18public:
19 inline TTristimulusSpectrum() = default;
20 inline TTristimulusSpectrum(const TTristimulusSpectrum& other) = default;
21 inline TTristimulusSpectrum(TTristimulusSpectrum&& other) = default;
24 inline ~TTristimulusSpectrum() = default;
25
26 using Base::Base;
27
28 TTristimulusSpectrum(T c0, T c1, T c2);
29
30 template<typename U>
32};
33
34}// end namespace ph::math
35
Base for spectrum implementations.
Definition TSpectrumBase.h:28
Definition TTristimulusSpectrum.h:11
TTristimulusSpectrum & operator=(const TTristimulusSpectrum &rhs)=default
TTristimulusSpectrum(const TTristimulusSpectrum &other)=default
TTristimulusSpectrum(TTristimulusSpectrum &&other)=default
Math functions and utilities.
Definition TransformInfo.h:10