This class describes a list of sub-object hit records.
All methods of this class are implemented by the system.
#include <mesh.h>
Public Member Functions |
|
SubObjHitList () | |
Constructor. |
|
DllExport | ~SubObjHitList () |
Destructor. |
|
MeshSubHitRec * | First () |
Returns the first item in the hit list.
|
|
DllExport void | AddHit (DWORD dist, int index) |
Allocates and adds a new hit record to the
list. |
SubObjHitList | ( | ) | [inline] |
Constructor.
The list is set to NULL.
{ first = NULL; }
DllExport ~SubObjHitList | ( | ) |
Destructor.
All the hit records are deleted.
MeshSubHitRec* First | ( | ) | [inline] |
DllExport void AddHit | ( | DWORD | dist, |
int | index | ||
) |
Allocates and adds a new hit record to the list.
dist | The distance of the hit. |
index | The index of the hit. |