tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
tpbrt::light_source_distant_params Struct Reference

C++ wrapper for tpbrt_light_source_distant_params_t. More...

#include <tinypbrt/detail/cpp/light.hpp>

Public Member Functions

constexpr spectrum l () const noexcept
 Returns l value.
 
constexpr point from () const noexcept
 Returns p value.
 
constexpr point to () const noexcept
 Returns to value.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

Member Function Documentation

◆ l()

constexpr spectrum tpbrt::light_source_distant_params::l ( ) const
inlineconstexprnoexcept

Returns l value.

◆ from()

constexpr point tpbrt::light_source_distant_params::from ( ) const
inlineconstexprnoexcept

Returns p value.

◆ to()

constexpr point tpbrt::light_source_distant_params::to ( ) const
inlineconstexprnoexcept

Returns to value.

◆ reflect()

constexpr auto tpbrt::light_source_distant_params::reflect ( ) const
inlineconstexprnoexcept

Conversion to tuple.


The documentation for this struct was generated from the following file: