--------------------------------------------------------------------------------
| 17 | |
| 18 | // -------------------------------------------------------------------------------- |
| 19 | float Fractal( const Tr2CurveScalarExpression* curve, float x, float alpha, float beta, float n ) |
| 20 | { |
| 21 | return float( ( PerlinNoise1D( x + curve->GetRandomConstant(), alpha, beta, int( n + 0.5f ) ) + 1.0 ) / 2.0 ); |
| 22 | } |
| 23 | |
| 24 | // -------------------------------------------------------------------------------- |
| 25 | float Noise( const Tr2CurveScalarExpression* curve, float x ) |
nothing calls this directly
no test coverage detected