Loading LrHit.h 0 → 100644 +22 −0 Original line number Diff line number Diff line #ifndef _LRHIT_H #define _LRHIT_H #include "config.h" #include "LrPoint.h" #include "LrVector.h" #include "LrOptic.h" #include "LrEntity.h" // structure intersection class LrHit { LrPoint point; // point d'impact Real distance; // distance(origine rayon, point d'impact) LrVector normal; // normale au point d'impact LrVector tangeant; // tangeante au point d'impact Real u, v; // coordonnées paramétriques sur la surface LrOptic *optic; // propriétés optiques au point d'impact LrEntity *entity; // � voir : �ventuellement l'entit� r�ellement // touch�e en cas d'objet compos� }; #endif Loading
LrHit.h 0 → 100644 +22 −0 Original line number Diff line number Diff line #ifndef _LRHIT_H #define _LRHIT_H #include "config.h" #include "LrPoint.h" #include "LrVector.h" #include "LrOptic.h" #include "LrEntity.h" // structure intersection class LrHit { LrPoint point; // point d'impact Real distance; // distance(origine rayon, point d'impact) LrVector normal; // normale au point d'impact LrVector tangeant; // tangeante au point d'impact Real u, v; // coordonnées paramétriques sur la surface LrOptic *optic; // propriétés optiques au point d'impact LrEntity *entity; // � voir : �ventuellement l'entit� r�ellement // touch�e en cas d'objet compos� }; #endif