mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Minor code clean-up.
This commit is contained in:
parent
c9f5c02ee4
commit
4500e520ea
1 changed files with 2 additions and 2 deletions
|
@ -43,9 +43,9 @@ var CurveLocation = Base.extend(/** @lends CurveLocation# */{
|
|||
*/
|
||||
initialize: function CurveLocation(curve, parameter, point,
|
||||
_overlap, _distance) {
|
||||
// Merge intersections very close to the end of a curve to the
|
||||
// Merge intersections very close to the end of a curve with the
|
||||
// beginning of the next curve.
|
||||
if (parameter >= 1 - /*#=*/Numerical.CURVETIME_EPSILON) {
|
||||
if (parameter > /*#=*/(1 - Numerical.CURVETIME_EPSILON)) {
|
||||
var next = curve.getNext();
|
||||
if (next) {
|
||||
parameter = 0;
|
||||
|
|
Loading…
Reference in a new issue