From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNL3D_1_1CRandomGrid3D.html | 429 +++++++++++++++++++++++ 1 file changed, 429 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CRandomGrid3D.html (limited to 'docs/doxygen/nel/classNL3D_1_1CRandomGrid3D.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CRandomGrid3D.html b/docs/doxygen/nel/classNL3D_1_1CRandomGrid3D.html new file mode 100644 index 00000000..9398e3d2 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CRandomGrid3D.html @@ -0,0 +1,429 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NL3D::CRandomGrid3D Class Reference

A static 3D array of random value + other infos for noise. +More... +

+List of all members. + + + + + + + + + + + + + + +

Public Methods

 CRandomGrid3D ()

Static Public Methods

float evalNearest (const CVector &pos)
float evalBiLinear (const CVector &pos)
float getLevelSize (uint level)
const CVector & getLevelPhase (uint level)

Static Private Methods

float lookup (uint ux, uint uy, uint uz)
void easeInEaseOut (float &y, float x)

Static Private Attributes

uint8 _Texture3d [NL3D_NOISE_GRID_SIZE *NL3D_NOISE_GRID_SIZE *NL3D_NOISE_GRID_SIZE]
float _Sizes [NL3D_NOISE_LEVEL]
CVector _LevelPhase [NL3D_NOISE_LEVEL]
+


Detailed Description

+A static 3D array of random value + other infos for noise. +

+ +

+Definition at line 49 of file noise_value.cpp.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CRandomGrid3D::CRandomGrid3D   [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 54 of file noise_value.cpp. +

+References NLMISC::frand, id, NL3D_NOISE_GRID_SIZE, NL3D_NOISE_GRID_SIZE_SHIFT, NL3D_NOISE_LEVEL, v, x, y, and z.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NL3D::CRandomGrid3D::easeInEaseOut float &   y,
float   x
[inline, static, private]
+
+ + + + + +
+   + + +

+ +

+Definition at line 191 of file noise_value.cpp. +

+References x, and y.

+

+ + + + +
+ + + + + + + + + + +
float NL3D::CRandomGrid3D::evalBiLinear const CVector &   pos [inline, static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 119 of file noise_value.cpp. +

+References NL3D_NOISE_GRID_SIZE, NL3D::NL3D_OO255, NL3D::OptFastFloor, x, y, and z.

+

+ + + + +
+ + + + + + + + + + +
float NL3D::CRandomGrid3D::evalNearest const CVector &   pos [inline, static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 101 of file noise_value.cpp. +

+References NL3D_NOISE_GRID_SIZE, NL3D::NL3D_OO255, NL3D::OptFastFloor, x, y, and z.

+

+ + + + +
+ + + + + + + + + + +
const CVector& NL3D::CRandomGrid3D::getLevelPhase uint   level [inline, static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 169 of file noise_value.cpp. +

+References level.

+

+ + + + +
+ + + + + + + + + + +
float NL3D::CRandomGrid3D::getLevelSize uint   level [inline, static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 163 of file noise_value.cpp. +

+References level.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
float NL3D::CRandomGrid3D::lookup uint   ux,
uint   uy,
uint   uz
[inline, static, private]
+
+ + + + + +
+   + + +

+ +

+Definition at line 184 of file noise_value.cpp. +

+References id, and NL3D_NOISE_GRID_SIZE_SHIFT.

+


Member Data Documentation

+

+ + + + +
+ + +
CVector NL3D::CRandomGrid3D::_LevelPhase [static, private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 204 of file noise_value.cpp.

+

+ + + + +
+ + +
float NL3D::CRandomGrid3D::_Sizes [static, private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 203 of file noise_value.cpp.

+

+ + + + +
+ + +
uint8 NL3D::CRandomGrid3D::_Texture3d [static, private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 202 of file noise_value.cpp.

+


The documentation for this class was generated from the following file: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1