Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::math::TFraction< T > Class Template Referencefinal

#include <TFraction.h>

Public Member Functions

constexpr TFraction ()=default
 
constexpr TFraction (T nume, T deno)
 
template<typename U = real>
constexprtoReal () const
 
template<typename U >
constexpr operator U () const
 

Constructor & Destructor Documentation

◆ TFraction() [1/2]

template<typename T >
ph::math::TFraction< T >::TFraction ( )
inlineconstexprdefault

◆ TFraction() [2/2]

template<typename T >
ph::math::TFraction< T >::TFraction ( T nume,
T deno )
inlineconstexpr

Member Function Documentation

◆ operator U()

template<typename T >
template<typename U >
ph::math::TFraction< T >::operator U ( ) const
inlineexplicitconstexpr

◆ toReal()

template<typename T >
template<typename U >
U ph::math::TFraction< T >::toReal ( ) const
inlineconstexpr

The documentation for this class was generated from the following files: