perf: make eraser great again

This commit is contained in:
Ryan Di 2025-04-07 22:16:22 +10:00
parent ce267aa0d3
commit 5325f58895
4 changed files with 256 additions and 118 deletions

View file

@ -138,3 +138,5 @@ export type Ellipse<Point extends GlobalPoint | LocalPoint> = {
} & {
_brand: "excalimath_ellipse";
};
export type ElementsSegmentsMap = Map<string, LineSegment<GlobalPoint>[]>;