Skip to content

Commit

Permalink
src/web
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Dec 1, 2024
1 parent 0a09433 commit a8bbb4b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ export * from './Ktx2'
export * from './Progress'
export * from './Texture'
export * from './VideoTexture'
export * from './ScreenVideoTexture'
export * from './WebcamVideoTexture'
export * from './useFont'
export * from './useSpriteLoader'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { forwardRef, useEffect } from 'react'
import { suspend, clear } from 'suspend-react'
import { VideoTexture, VideoTextureProps } from './VideoTexture'
import { VideoTexture, VideoTextureProps } from '..'

export type ScreenVideoTextureProps = Omit<VideoTextureProps, 'src'> & {
options?: DisplayMediaStreamOptions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { forwardRef, useEffect } from 'react'
import { suspend, clear } from 'suspend-react'
import { VideoTexture, VideoTextureProps } from './VideoTexture'
import { VideoTexture, VideoTextureProps } from '..'

export type WebcamVideoTextureProps = Omit<VideoTextureProps, 'src'> & {
constraints?: MediaStreamConstraints
Expand Down
4 changes: 4 additions & 0 deletions src/web/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ export * from './View'
// Gizmos
export * from './pivotControls'

// Loaders
export * from './ScreenVideoTexture'
export * from './WebcamVideoTexture'

// Controls
export * from './FaceControls'
export { DragControls } from './DragControls'
Expand Down

0 comments on commit a8bbb4b

Please sign in to comment.