mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 04:12:02 +08:00
fix imports
This commit is contained in:
parent
ced8c631c1
commit
3715262cb3
@ -2,8 +2,9 @@ import { defineComponent, inject, InjectionKey, onUnmounted, provide } from 'vue
|
||||
import { Clock } from 'three'
|
||||
// @ts-ignore
|
||||
import * as PP from 'postprocessing'
|
||||
// import { RendererInjectionKey, RendererPublicInterface } from '../../../build/trois'
|
||||
import { RendererInjectionKey, RendererPublicInterface } from '../../../export'
|
||||
import { RendererInjectionKey } from '../../../../build/trois.module.js'
|
||||
import { RendererPublicInterface } from '../../../../build/trois'
|
||||
// import { RendererInjectionKey, RendererPublicInterface } from '../../../export'
|
||||
|
||||
export interface EffectComposerInterface {
|
||||
renderer: RendererPublicInterface
|
||||
|
@ -2,7 +2,8 @@ import { defineComponent, inject, InjectionKey, onUnmounted, provide } from 'vue
|
||||
// @ts-ignore
|
||||
import * as PP from 'postprocessing'
|
||||
import { ComposerInjectionKey, EffectComposerInterface } from './EffectComposer'
|
||||
import { RendererPublicInterface } from '../../../export'
|
||||
import { RendererPublicInterface } from '../../../../build/trois'
|
||||
// import { RendererPublicInterface } from '../../../export'
|
||||
|
||||
export interface EffectPassInterface {
|
||||
composer: EffectComposerInterface
|
||||
|
@ -2,8 +2,8 @@ import { defineComponent, inject, onUnmounted, PropType } from 'vue'
|
||||
// @ts-ignore
|
||||
import * as PP from 'postprocessing'
|
||||
import { ComposerInjectionKey } from './EffectComposer'
|
||||
// import { RendererPublicInterface } from '../../../build/trois'
|
||||
import { RendererPublicInterface } from '../../../export'
|
||||
import { RendererPublicInterface } from '../../../../build/trois'
|
||||
// import { RendererPublicInterface } from '../../../export'
|
||||
|
||||
type PassTypes = 'render' | 'blur'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user