NL3D::CLVBSqrDistLUT Class Reference


Public Member Functions

 CLVBSqrDistLUT ()

Static Public Attributes

float Array [NL3D_VEGETABLE_BLOCK_NUMDIST+1]

Constructor & Destructor Documentation

NL3D::CLVBSqrDistLUT::CLVBSqrDistLUT  )  [inline]
 

Definition at line 53 of file landscape_vegetable_block.cpp.

References Array, NL3D_VEGETABLE_BLOCK_ELTDIST, NL3D_VEGETABLE_BLOCK_NUMDIST, NLMISC::sqr(), and uint.

00054         {
00055                 // 0, 10, 20, 30, 40, 50
00056                 for(uint i=0;i<NL3D_VEGETABLE_BLOCK_NUMDIST+1;i++)
00057                 {
00058                         Array[i]= i*NL3D_VEGETABLE_BLOCK_ELTDIST;
00059                         Array[i]= sqr(Array[i]);
00060                 }
00061         }


Field Documentation

float NL3D::CLVBSqrDistLUT::Array [static]
 

Definition at line 67 of file landscape_vegetable_block.cpp.

Referenced by CLVBSqrDistLUT().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 06:50:07 2004 for NeL by doxygen 1.3.6