Skip to content

Commit

Permalink
feat(geom-api): update IShape & CubicOpts
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed May 14, 2024
1 parent 10a73f2 commit 4caff0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/geom-api/src/cubic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export interface CubicOpts {
* Set to true (default false) to interpret original vertices as
* breakpoints
*/
breakPoints: boolean;
mode: "default" | "breakpoints" | "hobby";
/**
* True, to enable uniform tangent scaling. If false (default), each
* tangent will be also scaled by the length of its related parent
Expand Down
1 change: 1 addition & 0 deletions packages/geom-api/src/shape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export interface IShape<T extends IShape = IShape<any>>
extends IAttributed<T>,
ICopy<T> {
readonly type: number | string;
readonly dim: number;
}

export type IShape2<T extends IShape2 = IShape2<any>> = IShape<T> & {
Expand Down

0 comments on commit 4caff0d

Please sign in to comment.