1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 04:12:02 +08:00

fix imports

This commit is contained in:
Kevin Levron 2021-05-06 21:58:48 +02:00
parent ced8c631c1
commit 3715262cb3
3 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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'