Browse Source

Update polyline.tsx

main
Steve Ruiz 4 years ago
parent
commit
e86cd8100d
1 changed files with 1 additions and 6 deletions
  1. 1
    6
      lib/shape-utils/polyline.tsx

+ 1
- 6
lib/shape-utils/polyline.tsx View File

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

Loading…
Cancel
Save