Prebuilt module for commit b40efbf6db

This commit is contained in:
Paper.js Bot 2017-02-22 16:46:10 +00:00
parent e3045dc488
commit a295df7120
5 changed files with 10 additions and 10 deletions

View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Feb 22 17:29:23 2017 +0100
* Date: Wed Feb 22 17:41:51 2017 +0100
*
***
*
@ -2601,7 +2601,7 @@ var Line = Base.extend({
var v2x = x - px,
v2y = y - py,
ccw = v2x * vy - v2y * vx;
if (ccw === 0 && !isInfinite) {
if (!isInfinite && Numerical.isZero(ccw)) {
ccw = (v2x * vx + v2x * vx) / (vx * vx + vy * vy);
if (ccw >= 0 && ccw <= 1)
ccw = 0;

4
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Feb 22 17:29:23 2017 +0100
* Date: Wed Feb 22 17:41:51 2017 +0100
*
***
*
@ -2601,7 +2601,7 @@ var Line = Base.extend({
var v2x = x - px,
v2y = y - py,
ccw = v2x * vy - v2y * vx;
if (ccw === 0 && !isInfinite) {
if (!isInfinite && Numerical.isZero(ccw)) {
ccw = (v2x * vx + v2x * vx) / (vx * vx + vy * vy);
if (ccw >= 0 && ccw <= 1)
ccw = 0;

File diff suppressed because one or more lines are too long

4
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Feb 22 17:29:23 2017 +0100
* Date: Wed Feb 22 17:41:51 2017 +0100
*
***
*
@ -2601,7 +2601,7 @@ var Line = Base.extend({
var v2x = x - px,
v2y = y - py,
ccw = v2x * vy - v2y * vx;
if (ccw === 0 && !isInfinite) {
if (!isInfinite && Numerical.isZero(ccw)) {
ccw = (v2x * vx + v2x * vx) / (vx * vx + vy * vy);
if (ccw >= 0 && ccw <= 1)
ccw = 0;

File diff suppressed because one or more lines are too long