asciify-engine 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -374,7 +374,7 @@ function lerp(a, b, t) {
|
|
|
374
374
|
function hash2(ix, iy) {
|
|
375
375
|
let n = ix * 127 + iy * 311;
|
|
376
376
|
n = n >> 13 ^ n;
|
|
377
|
-
return (n * (n * n * 15731 + 789221) + 1376312589 & 2147483647) /
|
|
377
|
+
return (n * (n * n * 15731 + 789221) + 1376312589 & 2147483647) / 2147483647;
|
|
378
378
|
}
|
|
379
379
|
function vnoise(x, y) {
|
|
380
380
|
const ix = Math.floor(x), iy = Math.floor(y);
|