Skip to content

Commit

Permalink
chore: restored duplicated types
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinoooo committed Jun 28, 2023
1 parent 49e9d1e commit a6c1a20
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions src/components/TresScene.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,31 @@ import { extend } from '../core/catalogue'
import { OBJECT_3D_USER_DATA_KEYS } from '../keys'
import type { TresCamera } from '../types/'
import type { TresCanvasProps } from './TresCanvas.vue'
import type { RendererPresetsType } from '../composables/useRenderer/const'
import type { ColorSpace, ShadowMapType, ToneMapping } from 'three'
export interface TresSceneProps {
shadows?: boolean
shadowMapType?: ShadowMapType
physicallyCorrectLights?: boolean
useLegacyLights?: boolean
outputColorSpace?: ColorSpace
toneMapping?: ToneMapping
toneMappingExposure?: number
context?: WebGLRenderingContext
powerPreference?: 'high-performance' | 'low-power' | 'default'
preserveDrawingBuffer?: boolean
clearColor?: string
windowSize?: boolean
preset?: RendererPresetsType
disableRender?: boolean
camera?: TresCamera
}
const { logWarning } = useLogger()
const props = withDefaults(defineProps<TresCanvasProps>(), {
const props = withDefaults(defineProps<TresSceneProps>(), {
physicallyCorrectLights: false,
})
Expand Down

0 comments on commit a6c1a20

Please sign in to comment.