#include <ray.h>
Public Member Functions | |
| Ray () | |
| Default Constructor. | |
| Ray (const Point &o, const Vector &d, float mint=0.001f, float maxt=INF) | |
| Constructor initializing the ray's origin and direction, and optionally the time parameters. | |
| ~Ray () | |
| Destructor. | |
Public Attributes | |
| Point | orig |
| Origin of ray. | |
| Vector | dir |
| Direction of ray. | |
| float | minT |
| Start time of ray. | |
| float | maxT |
| End time of ray. | |
1.4.4