Skip to content

Commit

Permalink
fix: don't import from three/examples
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Oct 10, 2022
1 parent d083b16 commit ce73a1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/CatmullRomLine.tsx
@@ -1,6 +1,6 @@
import * as React from 'react'
import { CatmullRomCurve3, Color, Vector3 } from 'three'
import { Line2 } from 'three/examples/jsm/lines/Line2'
import { Line2 } from 'three-stdlib'
import { Line, LineProps } from './Line'

type Props = Omit<LineProps, 'ref'> & {
Expand Down
2 changes: 1 addition & 1 deletion src/core/CubicBezierLine.tsx
@@ -1,6 +1,6 @@
import * as React from 'react'
import { CubicBezierCurve3, Vector3 } from 'three'
import { Line2 } from 'three/examples/jsm/lines/Line2'
import { Line2 } from 'three-stdlib'
import { Line, LineProps } from './Line'

type Props = Omit<LineProps, 'points' | 'ref'> & {
Expand Down
2 changes: 1 addition & 1 deletion src/core/QuadraticBezierLine.tsx
@@ -1,6 +1,6 @@
import * as React from 'react'
import { QuadraticBezierCurve3, Vector3 } from 'three'
import { Line2 } from 'three/examples/jsm/lines/Line2'
import { Line2 } from 'three-stdlib'
import mergeRefs from 'react-merge-refs'
import { Line, LineProps } from './Line'
import { Object3DNode } from '@react-three/fiber'
Expand Down

0 comments on commit ce73a1b

Please sign in to comment.