Public Member Functions | Public Attributes | List of all members
ion::STriangle3< T > Class Template Reference

3D triangle More...

#include <STriangle3.h>

Public Member Functions

 STriangle3 ()
 
 STriangle3 (vec3< T > const &v1, vec3< T > const &v2, vec3< T > const &v3)
 
bool intersect (vec3< T > const &p, vec3< T > const &d)
 

Public Attributes

vec3< TVertices [3]
 

Detailed Description

template<typename T>
class ion::STriangle3< T >

3D triangle

Constructor & Destructor Documentation

template<typename T >
ion::STriangle3< T >::STriangle3 ( )
inline
template<typename T >
ion::STriangle3< T >::STriangle3 ( vec3< T > const &  v1,
vec3< T > const &  v2,
vec3< T > const &  v3 
)
inline

Member Function Documentation

template<typename T >
bool ion::STriangle3< T >::intersect ( vec3< T > const &  p,
vec3< T > const &  d 
)
inline

Member Data Documentation

template<typename T >
vec3<T> ion::STriangle3< T >::Vertices[3]

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