#include <intersection.h>
Public Member Functions | |
| Intersection () | |
Public Attributes | |
| const Intersectable * | mObject | 
| Pointer to the object hit by the ray.   | |
| Material * | mMaterial | 
| Pointer to the material at the hit point.   | |
| Point | mPosition | 
| Position of hit point in world coordinates.   | |
| Vector | mNormal | 
| Normal at hit point.   | |
| Vector | mView | 
| View direction at the hit point.   | |
| UV | mTexture | 
| Texture coordinate (u,v) at hit point.   | |
| UV | mHitParam | 
| Parametric description of hit point (u,v).   | |
| float | mHitTime | 
| Hit time along ray.   | |
All the necessary information about the intersection is computed by the intersected object and stored in this class.
 1.4.4