mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Prebuilt module for commit 3ff5560c0c
This commit is contained in:
parent
d7900a8088
commit
9f9483af90
6 changed files with 26 additions and 26 deletions
14
dist/docs/assets/js/paper.js
vendored
14
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat Jun 22 15:27:25 2019 +0200
|
||||
* Date: Sat Jun 22 17:31:36 2019 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7689,16 +7689,16 @@ var CurveLocation = Base.extend({
|
|||
var v = curve.getValues(),
|
||||
roots = Curve.classify(v).roots || Curve.getPeaks(v),
|
||||
count = roots.length,
|
||||
t = end && count > 1 ? roots[count - 1]
|
||||
: count > 0 ? roots[0]
|
||||
: 0.5;
|
||||
offsets.push(Curve.getLength(v, end ? t : 0, end ? 1 : t) / 2);
|
||||
offset = Curve.getLength(v,
|
||||
end && count ? roots[count - 1] : 0,
|
||||
!end && count ? roots[0] : 1);
|
||||
offsets.push(count ? offset : offset / 64);
|
||||
}
|
||||
|
||||
function isInRange(angle, min, max) {
|
||||
return min < max
|
||||
? angle > min && angle < max
|
||||
: angle > min || angle < max;
|
||||
? angle > min && angle <= max
|
||||
: angle > min || angle <= max;
|
||||
}
|
||||
|
||||
if (!t1Inside) {
|
||||
|
|
14
dist/paper-core.js
vendored
14
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat Jun 22 15:27:25 2019 +0200
|
||||
* Date: Sat Jun 22 17:31:36 2019 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7686,16 +7686,16 @@ var CurveLocation = Base.extend({
|
|||
var v = curve.getValues(),
|
||||
roots = Curve.classify(v).roots || Curve.getPeaks(v),
|
||||
count = roots.length,
|
||||
t = end && count > 1 ? roots[count - 1]
|
||||
: count > 0 ? roots[0]
|
||||
: 0.5;
|
||||
offsets.push(Curve.getLength(v, end ? t : 0, end ? 1 : t) / 2);
|
||||
offset = Curve.getLength(v,
|
||||
end && count ? roots[count - 1] : 0,
|
||||
!end && count ? roots[0] : 1);
|
||||
offsets.push(count ? offset : offset / 64);
|
||||
}
|
||||
|
||||
function isInRange(angle, min, max) {
|
||||
return min < max
|
||||
? angle > min && angle < max
|
||||
: angle > min || angle < max;
|
||||
? angle > min && angle <= max
|
||||
: angle > min || angle <= max;
|
||||
}
|
||||
|
||||
if (!t1Inside) {
|
||||
|
|
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
14
dist/paper-full.js
vendored
14
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat Jun 22 15:27:25 2019 +0200
|
||||
* Date: Sat Jun 22 17:31:36 2019 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7689,16 +7689,16 @@ var CurveLocation = Base.extend({
|
|||
var v = curve.getValues(),
|
||||
roots = Curve.classify(v).roots || Curve.getPeaks(v),
|
||||
count = roots.length,
|
||||
t = end && count > 1 ? roots[count - 1]
|
||||
: count > 0 ? roots[0]
|
||||
: 0.5;
|
||||
offsets.push(Curve.getLength(v, end ? t : 0, end ? 1 : t) / 2);
|
||||
offset = Curve.getLength(v,
|
||||
end && count ? roots[count - 1] : 0,
|
||||
!end && count ? roots[0] : 1);
|
||||
offsets.push(count ? offset : offset / 64);
|
||||
}
|
||||
|
||||
function isInRange(angle, min, max) {
|
||||
return min < max
|
||||
? angle > min && angle < max
|
||||
: angle > min || angle < max;
|
||||
? angle > min && angle <= max
|
||||
: angle > min || angle <= max;
|
||||
}
|
||||
|
||||
if (!t1Inside) {
|
||||
|
|
4
dist/paper-full.min.js
vendored
4
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/paper.d.ts
vendored
2
dist/paper.d.ts
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat Jun 22 15:27:25 2019 +0200
|
||||
* Date: Sat Jun 22 17:31:36 2019 +0200
|
||||
*
|
||||
* This is an auto-generated type definition.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue