#include <spectrum.h>

Public Types

using T = DiscreteSPD< 3 >
 

Public Member Functions

 DiscreteSPD (Float s)
 
 DiscreteSPD (const Vec3 &v)
 
auto ToRGB () const -> Vec3
 
auto Black () const -> bool
 
LM_INLINE auto operator*= (const DiscreteSPD< 3 > &spd) -> T &
 
LM_INLINE auto operator*= (Float s) -> T &
 
LM_INLINE auto operator/= (Float s) -> T &
 

Static Public Member Functions

static auto FromRGB (const Vec3 &rgb) -> T
 

Public Attributes

Vec3 v
 

Detailed Description

template<>
struct DiscreteSPD< 3 >

Specialization for the SPD representing RGB colors.