--------------------------------------------------------------------------------
| 23 | |
| 24 | // -------------------------------------------------------------------------------- |
| 25 | float Noise( const Tr2CurveScalarExpression* curve, float x ) |
| 26 | { |
| 27 | return float( ( PerlinNoise1D( x + curve->GetRandomConstant(), 1.0, 1.0, 1 ) + 1.0 ) / 2.0 ); |
| 28 | } |
| 29 | |
| 30 | // -------------------------------------------------------------------------------- |
| 31 | float RandomConstant( const Tr2CurveScalarExpression* curve, float a, float b ) |
nothing calls this directly
no test coverage detected