commun.cpp (mathmod-11.0-source) | : | commun.cpp (mathmod-11.1-source) | ||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
202, 38, 147, 118, 126, 255, 82, 85, 212, 207, 206, 59, 227, 47, 16, | 202, 38, 147, 118, 126, 255, 82, 85, 212, 207, 206, 59, 227, 47, 16, | |||
58, 17, 182, 189, 28, 42, 223, 183, 170, 213, 119, 248, 152, 2, 44, | 58, 17, 182, 189, 28, 42, 223, 183, 170, 213, 119, 248, 152, 2, 44, | |||
154, 163, 70, 221, 153, 101, 155, 167, 43, 172, 9, 129, 22, 39, 253, | 154, 163, 70, 221, 153, 101, 155, 167, 43, 172, 9, 129, 22, 39, 253, | |||
19, 98, 108, 110, 79, 113, 224, 232, 178, 185, 112, 104, 218, 246, 97, | 19, 98, 108, 110, 79, 113, 224, 232, 178, 185, 112, 104, 218, 246, 97, | |||
228, 251, 34, 242, 193, 238, 210, 144, 12, 191, 179, 162, 241, 81, 51, | 228, 251, 34, 242, 193, 238, 210, 144, 12, 191, 179, 162, 241, 81, 51, | |||
145, 235, 249, 14, 239, 107, 49, 192, 214, 31, 181, 199, 106, 157, 184, | 145, 235, 249, 14, 239, 107, 49, 192, 214, 31, 181, 199, 106, 157, 184, | |||
84, 204, 176, 115, 121, 50, 45, 127, 4, 150, 254, 138, 236, 205, 93, | 84, 204, 176, 115, 121, 50, 45, 127, 4, 150, 254, 138, 236, 205, 93, | |||
222, 114, 67, 29, 24, 72, 243, 141, 128, 195, 78, 66, 215, 61, 156, | 222, 114, 67, 29, 24, 72, 243, 141, 128, 195, 78, 66, 215, 61, 156, | |||
180 | 180 | |||
}; | }; | |||
float tinyrnd() | float tinyrnd() | |||
{ | { | |||
static unsigned trand = 0; | static unsigned trand = 0; | |||
trand = 1664525u * trand + 1013904223u; | trand = 1664525u * trand + 1013904223u; | |||
return (float(trand) / 4294967296.0f); | return (float(trand) / 4294967296.0f); | |||
} | } | |||
float CellNoise::CellNoiseFunc(float x, float y, float z, int seed, int type, in t CombineDist) | float CellNoise::CellNoiseFunc(float x, float y, float z, int seed, int type, in t CombineDist) | |||
{ | { | |||
uint lastRandom, numberFeaturePoints; | uint lastRandom, numberFeaturePoints; | |||
float randomDiff[4]; | float randomDiff[4]; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added |