Free Electron
Static Public Member Functions | List of all members
fe::ext::RayTriangleIntersect< T > Class Template Reference

Find intersection between ray and triangle. More...

#include <RayTriangleIntersect.h>

Static Public Member Functions

static T solve (const Vector< 3, T > &vert0, const Vector< 3, T > &vert1, const Vector< 3, T > &vert2, const Vector< 3, T > &origin, const Vector< 3, T > &direction, Barycenter< T > &barycenter)
 
static void resolveContact (const Vector< 3, T > &vert0, const Vector< 3, T > &vert1, const Vector< 3, T > &vert2, const Vector< 3, T > &norm0, const Vector< 3, T > &norm1, const Vector< 3, T > &norm2, const Vector< 3, T > &origin, const Vector< 3, T > &direction, const Barycenter< T > &barycenter, const T range, Vector< 3, T > &intersection, Vector< 3, T > &normal)
 

Detailed Description

template<typename T>
class fe::ext::RayTriangleIntersect< T >

Find intersection between ray and triangle.

http://jgt.akpeters.com/papers/MollerTrumbore97


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