My Project
Public Attributes | List of all members
RayIntersectionInfo Struct Reference

#include <rayScene.h>

Public Attributes

class RayMaterialmaterial
Point3D iCoordinate
Point3D normal
Point2D texCoordinate

Detailed Description

If a ray intersects a shape, the shape information at the point of intersection is stored in this structure.

Member Data Documentation

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

The documentation for this struct was generated from the following file: