00001 00002 #ifndef __intersection_hpp__ 00003 #define __intersection_hpp__ 00004 00005 #include <crbn/basic/vec3.hpp> 00006 00007 struct intersection { 00008 vec3 plocal; 00009 vec3 pglobal; 00010 vec3 nlocal; 00011 vec3 nglobal; 00012 float distance; 00013 float u, v; 00014 vec3 dPdu, dPdv; 00015 }; 00016 00017 #endif // __intersection_hpp__