Update index.js
This commit is contained in:
parent
14e72c3180
commit
a5d358ee3d
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 = y - ((Math.floor(y) / 10) / (y * .28)));
|
||||
y = Math.round(y * 100) / 100;
|
||||
return y;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue