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

BaseNoise Noise basic data.

Todo:

Validate it, this is a !!! PROTOTYPE !!!

Remove this from ETK

Constructor & Destructor Documentation

§ BaseNoise()

etk::BaseNoise::BaseNoise ( const ivec2 _size,
float  _min,
float  _max 
)

basic constructor with randon settings

Parameters
[in]_sizeSize of the basic noise
[in]_minMinimum value of the random
[in]_maxMaximum 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]_xX position
[in]_yY position
Returns
random noise value

The documentation for this class was generated from the following file: