Skip to content

Commit

Permalink
add comments ( see #295)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Veillette <[email protected]>
  • Loading branch information
veillette committed Mar 17, 2023
1 parent bda7ba1 commit 7813dda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/common/model/TransformedCurve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,7 @@ export default class TransformedCurve extends Curve {
// We need to identify the points where the transitions happen. Those points will be labeled cusps or discontinuities
if ( wasPreviousPointModified !== null && wasPreviousPointModified !== isModified ) {

// we always label discontinuities and cusps on an adjacent pair of points.
const rightPoint = point;
const leftPoint = this.points[ index - 1 ];

Expand Down

0 comments on commit 7813dda

Please sign in to comment.