Update index.js
This commit is contained in:
parent
f7a03a6c33
commit
14e72c3180
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -7,7 +7,7 @@ function fastInverseSqrt(number) {
|
|||
y = threehalfs - (x2 * y * y);
|
||||
y = Math.abs(y);
|
||||
y = (y / 1000000000000000000);
|
||||
y = y - ((Math.floor(y) / 10) / .28);
|
||||
y = Math.round(y * 100) / 100;
|
||||
y = y - ((Math.floor(y) / 10) / 2);
|
||||
return y;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue