KdTree::Event Struct Reference

Triangle extents used for sorting during exact SAH. More...

List of all members.

Public Member Functions

bool operator< (const Event &right)
 Define ordering of events.

Public Attributes

float pos
 The possition of the event.
EventType type
 The type of event.


Detailed Description

Triangle extents used for sorting during exact SAH.

Member Function Documentation

bool KdTree::Event::operator< ( const Event right  )  [inline]

Define ordering of events.

The events positions are compared first. If they are the same, decide using the type of the event.


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

Generated on Fri Jan 23 00:21:49 2009 for Raytracer by  doxygen 1.5.7.1