C++ wrapper for tpbrt_texture_mapping_planar_params_t.
More...
#include <tinypbrt/detail/cpp/texture.hpp>
|
| constexpr float_t | u_delta () const noexcept |
| | Returns u_delta value.
|
| |
| constexpr float_t | v_delta () const noexcept |
| | Returns v_delta value.
|
| |
| constexpr vec | v1 () const noexcept |
| | Returns v1 value.
|
| |
| constexpr vec | v2 () const noexcept |
| | Returns v2 value.
|
| |
| constexpr auto | reflect () const noexcept |
| | Conversion to tuple.
|
| |
C++ wrapper for tpbrt_texture_mapping_planar_params_t.
- Note
- Note that "uscale" and "vscale" are redundant for the "planar" mapping and are therefore not provided since their effect can be had by scaling the "v1" and "v2" vectors.
◆ u_delta()
| constexpr float_t tpbrt::texture_mapping_planar_params::u_delta |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ v_delta()
| constexpr float_t tpbrt::texture_mapping_planar_params::v_delta |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ v1()
| constexpr vec tpbrt::texture_mapping_planar_params::v1 |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ v2()
| constexpr vec tpbrt::texture_mapping_planar_params::v2 |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ reflect()
| constexpr auto tpbrt::texture_mapping_planar_params::reflect |
( |
| ) |
const |
|
inlineconstexprnoexcept |
The documentation for this struct was generated from the following file: