NL3D::CRandomIterator Struct Reference

#include <ps_attrib_maker_iterators.h>


Detailed Description

This special iterator return random values every time it is read It is for private use only, and it has not all the functionnalities of an iterator.

Definition at line 68 of file ps_attrib_maker_iterators.h.

Public Member Functions

void advance (uint quantity)
void advance ()
GET_INLINE float get () const


Member Function Documentation

void NL3D::CRandomIterator::advance uint  quantity  )  [inline]
 

Definition at line 72 of file ps_attrib_maker_iterators.h.

References uint.

00072 {}

void NL3D::CRandomIterator::advance  )  [inline]
 

Definition at line 71 of file ps_attrib_maker_iterators.h.

00071 {}

GET_INLINE float NL3D::CRandomIterator::get  )  const [inline]
 

Definition at line 70 of file ps_attrib_maker_iterators.h.

References GET_INLINE.

00070 { return float(rand() * (1 / double(RAND_MAX))); } // this may be optimized with a table...


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 07:36:09 2004 for NeL by doxygen 1.3.6