| 103 | } |
| 104 | |
| 105 | double PerlinNoise::Noise(int x, int y) const |
| 106 | { |
| 107 | int n = x + y * 57; |
| 108 | n = (n << 13) ^ n; |
| 109 | int t = (n * (n * n * 15731 + 789221) + 1376312589) & 0x7fffffff; |
| 110 | return 1.0 - double(t) * 0.931322574615478515625e-9;/// 1073741824.0); |
| 111 | } |
nothing calls this directly
no outgoing calls
no test coverage detected