-------------------------------------------------------------------------------------- Description: A wrapper for Perlin noise 3 octave fractal sum function to pass to muParser. Arguments: x - agument for function Return Value: Perlin fractal sum --------------------------------------------------------------------------------------
| 29 | // Perlin fractal sum |
| 30 | // -------------------------------------------------------------------------------------- |
| 31 | static float perlin_wrap_simple( float x ) |
| 32 | { |
| 33 | return (float)( ( PerlinNoise1D( x, 1.1, 2.0, (int)3 ) + 1.0 ) * 0.5 ); |
| 34 | } |
| 35 | |
| 36 | // -------------------------------------------------------------------------------------- |
| 37 | // Description: |
nothing calls this directly
no test coverage detected