Public Member Functions | |
CLVBSqrDistLUT () | |
Static Public Attributes | |
float | Array [NL3D_VEGETABLE_BLOCK_NUMDIST+1] |
|
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 } |
|
Definition at line 67 of file landscape_vegetable_block.cpp. Referenced by CLVBSqrDistLUT(). |