Skip to content

Commit

Permalink
add interval to arc
Browse files Browse the repository at this point in the history
  • Loading branch information
deanmartinez committed Feb 12, 2017
1 parent b1b3b5e commit e39766c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bezier-js/bezier-js-tests.ts
Expand Up @@ -10,7 +10,7 @@ function test() {
var utils = bezier.getUtils();
var line: BezierJs.Line = { p1: { x: 0, y: 0 }, p2: { x: 1, y: 1 } };
var abc: BezierJs.ABC = { A: null, B: null, C: null };
var arc: BezierJs.Arc = { e: 0, s: 0, x: 0, y: 0, r: 1 };
var arc: BezierJs.Arc = { e: 0, s: 0, x: 0, y: 0, r: 1, interval:{ start: 0, end: 1 } };
var bbox: BezierJs.BBox = bezier.bbox();
var closest: BezierJs.Closest = { mdist: 1, mpos: 0 };
var inflection: BezierJs.Inflection = { values: null, x: [0], y: [0], z: [0] };
Expand Down Expand Up @@ -95,4 +95,4 @@ function test() {
utils.round(.999, .001);
utils.shapeintersections(shape, bbox, shape, bbox);

}
}

0 comments on commit e39766c

Please sign in to comment.