libigl v2.5.0
|
Reimplementation of the embree::Hit struct from embree1.0. More...
#include <Hit.h>
Public Attributes | |
int | id |
primitive id | |
int | gid |
geometry id (not used) | |
float | u |
barycentric coordinates so that pos = V.row(F(id,0))*(1-u-v)+V.row(F(id,1))*u+V.row(F(id,2))*v; | |
float | v |
float | t |
parametric distance so that pos = origin + t * dir | |
Reimplementation of the embree::Hit struct from embree1.0.
int igl::Hit::id |
primitive id
int igl::Hit::gid |
geometry id (not used)
float igl::Hit::u |
barycentric coordinates so that pos = V.row(F(id,0))*(1-u-v)+V.row(F(id,1))*u+V.row(F(id,2))*v;
float igl::Hit::v |
float igl::Hit::t |
parametric distance so that pos = origin + t * dir