Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

HitRecord Struct Reference

A struct to contain all shading information when a surface is intersected. More...

#include <Surface.h>

List of all members.

Public Attributes

double t
 ray hits at ray.origin() + t*ray.direction()
double time
 time hit occurs
Vector3 p
 point of intersection
Vector3 tex_p
 point of intersection for Texture mapping
ONB uvw
 w is the outward normal
Vector2 uv
 texture coordinate
SurfaceShadersshader
 surface material of hit object
LightShaderlshader
 emitting material of hit object
const Surfacesurface
 the hit object


Detailed Description

A struct to contain all shading information when a surface is intersected.


The documentation for this struct was generated from the following file:
Generated on Wed Jul 20 16:15:22 2005 for galileo by  doxygen 1.4.3