|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
C++ wrapper for tpbrt_blackbody_t (a separate type, so a blackbody spectrum is not confused with a constant one when visiting the spectrum variant - in C both are tpbrt_float_t). More...
#include <tinypbrt/detail/cpp/color.hpp>
Public Member Functions | |
| constexpr float_t | temperature () const noexcept |
| Returns blackbody temperature in Kelvin. | |
| constexpr auto | reflect () const noexcept |
| Conversion to tuple. | |
C++ wrapper for tpbrt_blackbody_t (a separate type, so a blackbody spectrum is not confused with a constant one when visiting the spectrum variant - in C both are tpbrt_float_t).
|
inlineconstexprnoexcept |
Returns blackbody temperature in Kelvin.
|
inlineconstexprnoexcept |
Conversion to tuple.