Fix jiggle
This commit is contained in:
1 parent
2601f18274
commit
5d7b7bf020
1 file changed
+1
-1
+1
-1
@@ -5,6 +5,6 @@ export default function() {
|
|||||||
let rand;
|
let rand;
|
||||||
do {
|
do {
|
||||||
rand = (Math.random() - 0.5) * 1e-6;
|
rand = (Math.random() - 0.5) * 1e-6;
|
||||||
while (rand === 0);
|
} while (rand === 0);
|
||||||
return rand;
|
return rand;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user