Fix jiggle

This commit is contained in:
Pitchaya Boonsarngsuk
2018-02-05 10:53:12 +00:00
parent 2601f18274
commit 5d7b7bf020

View File

@@ -5,6 +5,6 @@ export default function() {
let rand;
do {
rand = (Math.random() - 0.5) * 1e-6;
while (rand === 0);
} while (rand === 0);
return rand;
}