Created
December 1, 2015 14:52
-
-
Save mariusk/3a71fa779311311b00b3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- node_modules/art/core/path.js.org 2015-12-01 15:43:21.000000000 +0100 | |
+++ node_modules/art/core/path.js 2015-12-01 15:50:24.000000000 +0100 | |
@@ -95,8 +95,8 @@ | |
if (ex == null){ | |
this._pivotX = +c1x; this._pivotY = +c1y; | |
ex = +c2x; ey = +c2y; | |
- c2x = (ex + (+c1x) * 2) / 3; c2y = (ey + (+c1y) * 2) / 3; | |
- c1x = (x + (+c1x) * 2) / 3; c1y = (y + (+c1y) * 2) / 3; | |
+ c2x = (ex + (c1x) * 2) / 3; c2y = (ey + (c1y) * 2) / 3; | |
+ c1x = (x + (c1x) * 2) / 3; c1y = (y + (c1y) * 2) / 3; | |
} else { | |
this._pivotX = +c2x; this._pivotY = +c2y; | |
} | |
@@ -279,4 +279,4 @@ | |
this.onLine(sx, sy, ex, ey); | |
} | |
-}); | |
\ No newline at end of file | |
+}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment