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