Mathter
A configurable 3D math library for game developers.
Public Member Functions | List of all members
mathter::Intersection< Ray< T, 3 >, Triangle3D< T > > Class Template Reference

#include <Geometry.hpp>

Public Member Functions

 Intersection (const Ray< T, 3 > &ray, const Triangle3D< T > &triangle)
 
bool IsIntersecting () const
 
VectorT Point () const
 
template<class U >
Interpolate (const U &a, const U &b, const U &c) const
 
GetT () const
 
GetU () const
 
GetV () const
 

Constructor & Destructor Documentation

◆ Intersection()

template<class T >
mathter::Intersection< Ray< T, 3 >, Triangle3D< T > >::Intersection ( const Ray< T, 3 > &  ray,
const Triangle3D< T > &  triangle 
)

Member Function Documentation

◆ GetT()

template<class T >
T mathter::Intersection< Ray< T, 3 >, Triangle3D< T > >::GetT ( ) const
inline

◆ GetU()

template<class T >
T mathter::Intersection< Ray< T, 3 >, Triangle3D< T > >::GetU ( ) const
inline

◆ GetV()

template<class T >
T mathter::Intersection< Ray< T, 3 >, Triangle3D< T > >::GetV ( ) const
inline

◆ Interpolate()

template<class T >
template<class U >
U mathter::Intersection< Ray< T, 3 >, Triangle3D< T > >::Interpolate ( const U &  a,
const U &  b,
const U &  c 
) const

◆ IsIntersecting()

template<class T >
bool mathter::Intersection< Ray< T, 3 >, Triangle3D< T > >::IsIntersecting ( ) const
inline

◆ Point()

template<class T >
VectorT mathter::Intersection< Ray< T, 3 >, Triangle3D< T > >::Point ( ) const
inline

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