mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-13 16:33:28 -04:00
Prebuilt module for commit 4966f6250f
This commit is contained in:
parent
d879be09dc
commit
169830e609
5 changed files with 49 additions and 31 deletions
16
dist/docs/assets/js/paper.js
vendored
16
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sun Jun 12 18:32:05 2016 +0200
|
||||
* Date: Sun Jun 12 18:53:14 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7226,10 +7226,16 @@ var CurveLocation = Base.extend({
|
|||
: angle > min || angle < max;
|
||||
}
|
||||
|
||||
var v2 = c2.getTangentAtTime(t1Inside ? t1 : tMin),
|
||||
v1 = (t1Inside ? v2 : c1.getTangentAtTime(tMax)).negate(),
|
||||
v4 = c4.getTangentAtTime(t2Inside ? t2 : tMin),
|
||||
v3 = (t2Inside ? v4 : c3.getTangentAtTime(tMax)).negate(),
|
||||
var lenghts = [];
|
||||
if (!t1Inside)
|
||||
lenghts.push(c1.getLength(), c2.getLength());
|
||||
if (!t2Inside)
|
||||
lenghts.push(c3.getLength(), c4.getLength());
|
||||
var offset = Math.min.apply(null, lenghts) / 64;
|
||||
var v2 = t1Inside ? c2.getTangentAtTime(t1) : c2.getTangentAt(offset),
|
||||
v1 = (t1Inside ? v2 : c1.getTangentAt(-offset)).negate(),
|
||||
v4 = t2Inside ? c4.getTangentAtTime(t2) : c4.getTangentAt(offset),
|
||||
v3 = (t2Inside ? v4 : c3.getTangentAt(-offset)).negate(),
|
||||
a1 = v1.getAngle(),
|
||||
a2 = v2.getAngle(),
|
||||
a3 = v3.getAngle(),
|
||||
|
|
16
dist/paper-core.js
vendored
16
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sun Jun 12 18:32:05 2016 +0200
|
||||
* Date: Sun Jun 12 18:53:14 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7226,10 +7226,16 @@ var CurveLocation = Base.extend({
|
|||
: angle > min || angle < max;
|
||||
}
|
||||
|
||||
var v2 = c2.getTangentAtTime(t1Inside ? t1 : tMin),
|
||||
v1 = (t1Inside ? v2 : c1.getTangentAtTime(tMax)).negate(),
|
||||
v4 = c4.getTangentAtTime(t2Inside ? t2 : tMin),
|
||||
v3 = (t2Inside ? v4 : c3.getTangentAtTime(tMax)).negate(),
|
||||
var lenghts = [];
|
||||
if (!t1Inside)
|
||||
lenghts.push(c1.getLength(), c2.getLength());
|
||||
if (!t2Inside)
|
||||
lenghts.push(c3.getLength(), c4.getLength());
|
||||
var offset = Math.min.apply(null, lenghts) / 64;
|
||||
var v2 = t1Inside ? c2.getTangentAtTime(t1) : c2.getTangentAt(offset),
|
||||
v1 = (t1Inside ? v2 : c1.getTangentAt(-offset)).negate(),
|
||||
v4 = t2Inside ? c4.getTangentAtTime(t2) : c4.getTangentAt(offset),
|
||||
v3 = (t2Inside ? v4 : c3.getTangentAt(-offset)).negate(),
|
||||
a1 = v1.getAngle(),
|
||||
a2 = v2.getAngle(),
|
||||
a3 = v3.getAngle(),
|
||||
|
|
14
dist/paper-core.min.js
vendored
14
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
16
dist/paper-full.js
vendored
16
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sun Jun 12 18:32:05 2016 +0200
|
||||
* Date: Sun Jun 12 18:53:14 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7226,10 +7226,16 @@ var CurveLocation = Base.extend({
|
|||
: angle > min || angle < max;
|
||||
}
|
||||
|
||||
var v2 = c2.getTangentAtTime(t1Inside ? t1 : tMin),
|
||||
v1 = (t1Inside ? v2 : c1.getTangentAtTime(tMax)).negate(),
|
||||
v4 = c4.getTangentAtTime(t2Inside ? t2 : tMin),
|
||||
v3 = (t2Inside ? v4 : c3.getTangentAtTime(tMax)).negate(),
|
||||
var lenghts = [];
|
||||
if (!t1Inside)
|
||||
lenghts.push(c1.getLength(), c2.getLength());
|
||||
if (!t2Inside)
|
||||
lenghts.push(c3.getLength(), c4.getLength());
|
||||
var offset = Math.min.apply(null, lenghts) / 64;
|
||||
var v2 = t1Inside ? c2.getTangentAtTime(t1) : c2.getTangentAt(offset),
|
||||
v1 = (t1Inside ? v2 : c1.getTangentAt(-offset)).negate(),
|
||||
v4 = t2Inside ? c4.getTangentAtTime(t2) : c4.getTangentAt(offset),
|
||||
v3 = (t2Inside ? v4 : c3.getTangentAt(-offset)).negate(),
|
||||
a1 = v1.getAngle(),
|
||||
a2 = v2.getAngle(),
|
||||
a3 = v3.getAngle(),
|
||||
|
|
18
dist/paper-full.min.js
vendored
18
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue