Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

bool intersect const Ray ray,
Intersection is
 

Returns true if the ray intersects any object stored in the kd-tree, and information about the closest intersection point is returned in the supplied Intersection object.

This code is largely the same as the simpler intersect(const Ray& ray) function, except that we need to check for the closest intersection.


Generated on Sun Mar 26 19:14:12 2006 for ASR by  doxygen 1.4.4