Definition of a paratereized ray. More...
#include <ray.h>
This ray is designed to be absolutely minimal. The purpose is so that the jBBox class can support intersection with a ray. For ray tracing libraries that use jBBox it would be useful to subclass jRay for a more full featured ray class.
Build a default ray whose origin is the world-space origin and whose direction is the negative z-axis.
Build a ray with the given origin and direction.
Return the origin of the ray.
Return the direction of the ray.
Set the origin of the ray.
Set the direction of the ray.
Returns the position in ray space for the given parameter, ie. o + d*t.
Returns the transformed ray.
[protected]
[protected]