Skip to content

Commit

Permalink
feat(geom): add ellipse support for asCubic()
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jul 12, 2019
1 parent 980af9f commit 4247801
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/geom/src/ops/as-cubic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ asCubic.addAll(<IObjectOf<Implementation1<unknown, Cubic[]>>>{

[Type.RECT]: ($: Rect, opts?) => asCubic(asPolygon($), opts)
});

asCubic.isa(Type.ELLIPSE, Type.CIRCLE);

0 comments on commit 4247801

Please sign in to comment.