etk::BaseNoise Class Reference
#include <Noise.hpp>
Public Member Functions | |
BaseNoise (const ivec2 &_size, float _min, float _max) | |
float | get (int32_t _x, int32_t _y) const |
Detailed Description
Constructor & Destructor Documentation
§ BaseNoise()
etk::BaseNoise::BaseNoise | ( | const ivec2 & | _size, |
float | _min, | ||
float | _max | ||
) |
basic constructor with randon settings
- Parameters
-
[in] _size Size of the basic noise [in] _min Minimum value of the random [in] _max Maximum value of the random
Member Function Documentation
§ get()
float etk::BaseNoise::get | ( | int32_t | _x, |
int32_t | _y | ||
) | const |
Get value at a specific position.
- Parameters
-
[in] _x X position [in] _y Y position
- Returns
- random noise value
The documentation for this class was generated from the following file:
- framework/atria-soft/etk/etk/Noise.hpp