mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Replace intersection code
This commit is contained in:
parent
411deae176
commit
0c02972695
18 changed files with 507 additions and 687 deletions
|
@ -1,4 +1,4 @@
|
|||
import { lineIntersectsSegment } from "./line";
|
||||
import { lineSegmentIntersectionPoints } from "./line";
|
||||
import {
|
||||
isPoint,
|
||||
pointCenter,
|
||||
|
@ -186,4 +186,4 @@ export function segmentDistanceToPoint<Point extends GenericPoint>(
|
|||
* @param s
|
||||
* @returns
|
||||
*/
|
||||
export const segmentIntersectsLine = lineIntersectsSegment;
|
||||
export const segmentLineIntersectionPoints = lineSegmentIntersectionPoints;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue