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

C++ wrapper for tpbrt_shape_triangle_mesh_params_t. More...

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

Public Member Functions

constexpr uint_array indices () const noexcept
 Returns indices value.
 
constexpr point3_array p () const noexcept
 Returns p value.
 
constexpr normal_array n () const noexcept
 Returns n value.
 
constexpr vec3_array s () const noexcept
 Returns s value.
 
constexpr point2_array uv () const noexcept
 Returns uv value.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

Member Function Documentation

◆ indices()

constexpr uint_array tpbrt::shape_triangle_mesh_params::indices ( ) const
inlineconstexprnoexcept

Returns indices value.

◆ p()

constexpr point3_array tpbrt::shape_triangle_mesh_params::p ( ) const
inlineconstexprnoexcept

Returns p value.

◆ n()

constexpr normal_array tpbrt::shape_triangle_mesh_params::n ( ) const
inlineconstexprnoexcept

Returns n value.

◆ s()

constexpr vec3_array tpbrt::shape_triangle_mesh_params::s ( ) const
inlineconstexprnoexcept

Returns s value.

◆ uv()

constexpr point2_array tpbrt::shape_triangle_mesh_params::uv ( ) const
inlineconstexprnoexcept

Returns uv value.

◆ reflect()

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

Conversion to tuple.


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