Skip to content

Commit

Permalink
fix: don't import from three/examples (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Oct 29, 2022
1 parent 7cae732 commit 294bce1
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

1 comment on commit 294bce1

@vercel
Copy link

@vercel vercel bot commented on 294bce1 Oct 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.