My Project

#include <rayScene.h>
Public Attributes  
class RayMaterial *  material 
Point3D  iCoordinate 
Point3D  normal 
Point2D  texCoordinate 
If a ray intersects a shape, the shape information at the point of intersection is stored in this structure.
Point3D RayIntersectionInfo::iCoordinate 
The position, in world coordinates, of the intersection
class RayMaterial* RayIntersectionInfo::material 
The material of the intersected surface
Point3D RayIntersectionInfo::normal 
The normal of the shape at the point of intersection
Point2D RayIntersectionInfo::texCoordinate 
The texture coordinates of the the shape at the point of intersection