etk::Noise Class Reference

#include <Noise.hpp>

Public Member Functions

 Noise (enum noiseType _type, ivec2 _size, int32_t _depth)
 
float get (int32_t _x, int32_t _y) const
 

Detailed Description

Noise basic interface.

Todo:

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

Remove this from ETK

Constructor & Destructor Documentation

§ Noise()

etk::Noise::Noise ( enum noiseType  _type,
ivec2  _size,
int32_t  _depth 
)

Contructor of a noise specific.

Parameters
[in]_typeType of noise
[in]_sizeSize of the image output
[in]_depthDepth calculation

Member Function Documentation

§ get()

float etk::Noise::get ( int32_t  _x,
int32_t  _y 
) const

Get value at a specific position.

Parameters
[in]_xX position
[in]_yY position
Returns
Value calculated at this position

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