Update polyline.tsx

canvas-rendering
Steve Ruiz 2021-05-27 12:42:08 +01:00
rodzic e9d46a70e4
commit e86cd8100d
1 zmienionych plików z 1 dodań i 6 usunięć

Wyświetl plik

@ -3,13 +3,8 @@ import * as vec from "utils/vec"
import { PolylineShape, ShapeType } from "types"
import { registerShapeUtils } from "./index"
import { intersectPolylineBounds } from "utils/intersections"
import {
boundsCollide,
boundsContained,
boundsContainPolygon,
} from "utils/bounds"
import { boundsContainPolygon } from "utils/bounds"
import { getBoundsFromPoints, translateBounds } from "utils/utils"
import { colors } from "state/data"
const polyline = registerShapeUtils<PolylineShape>({
boundsCache: new WeakMap([]),