Free Electron
|
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) |
Find intersection between ray and triangle.