mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Prebuilt module for commit 2a668dd04e
This commit is contained in:
parent
98f51f8434
commit
eee6d67b29
5 changed files with 18 additions and 24 deletions
8
dist/docs/assets/js/paper.js
vendored
8
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Jun 14 17:22:54 2016 +0200
|
||||
* Date: Wed Jun 15 15:17:33 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -1029,10 +1029,8 @@ var Numerical = new function() {
|
|||
if (D !== 0 && abs(D) < MACHINE_EPSILON) {
|
||||
var gmC = pow(abs(a * b * c), 1 / 3);
|
||||
if (gmC < 1e-8) {
|
||||
var mult = pow(10,
|
||||
abs(Math.floor(Math.log(gmC) * Math.LOG10E)));
|
||||
if (!isFinite(mult))
|
||||
mult = 0;
|
||||
var mult = gmC === 0 ? 0 : pow(10,
|
||||
abs(Math.floor(Math.log(gmC) * Math.LOG10E)));
|
||||
a *= mult;
|
||||
b *= mult;
|
||||
c *= mult;
|
||||
|
|
8
dist/paper-core.js
vendored
8
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Jun 14 17:22:54 2016 +0200
|
||||
* Date: Wed Jun 15 15:17:33 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -1029,10 +1029,8 @@ var Numerical = new function() {
|
|||
if (D !== 0 && abs(D) < MACHINE_EPSILON) {
|
||||
var gmC = pow(abs(a * b * c), 1 / 3);
|
||||
if (gmC < 1e-8) {
|
||||
var mult = pow(10,
|
||||
abs(Math.floor(Math.log(gmC) * Math.LOG10E)));
|
||||
if (!isFinite(mult))
|
||||
mult = 0;
|
||||
var mult = gmC === 0 ? 0 : pow(10,
|
||||
abs(Math.floor(Math.log(gmC) * Math.LOG10E)));
|
||||
a *= mult;
|
||||
b *= mult;
|
||||
c *= mult;
|
||||
|
|
4
dist/paper-core.min.js
vendored
4
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
8
dist/paper-full.js
vendored
8
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Jun 14 17:22:54 2016 +0200
|
||||
* Date: Wed Jun 15 15:17:33 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -1029,10 +1029,8 @@ var Numerical = new function() {
|
|||
if (D !== 0 && abs(D) < MACHINE_EPSILON) {
|
||||
var gmC = pow(abs(a * b * c), 1 / 3);
|
||||
if (gmC < 1e-8) {
|
||||
var mult = pow(10,
|
||||
abs(Math.floor(Math.log(gmC) * Math.LOG10E)));
|
||||
if (!isFinite(mult))
|
||||
mult = 0;
|
||||
var mult = gmC === 0 ? 0 : pow(10,
|
||||
abs(Math.floor(Math.log(gmC) * Math.LOG10E)));
|
||||
a *= mult;
|
||||
b *= mult;
|
||||
c *= mult;
|
||||
|
|
14
dist/paper-full.min.js
vendored
14
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue