Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(geom): re-add arc, cubic, quadratic ops, splitAt & other ops
- Loading branch information
1 parent
1843702
commit fea8fbe
Showing
16 changed files
with
497 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { copy, ReadonlyVec } from "@thi.ng/vectors3"; | ||
import { ReadonlyVec, set } from "@thi.ng/vectors3"; | ||
|
||
export const copyPoints = | ||
(pts: ReadonlyVec[]) => pts.map((p) => copy(p)); | ||
(pts: ReadonlyVec[]) => pts.map((p) => set([], p)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.