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'
|
import { Clock } from 'three'
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import * as PP from 'postprocessing'
|
import * as PP from 'postprocessing'
|
||||||
// import { RendererInjectionKey, RendererPublicInterface } from '../../../build/trois'
|
import { RendererInjectionKey } from '../../../../build/trois.module.js'
|
||||||
import { RendererInjectionKey, RendererPublicInterface } from '../../../export'
|
import { RendererPublicInterface } from '../../../../build/trois'
|
||||||
|
// import { RendererInjectionKey, RendererPublicInterface } from '../../../export'
|
||||||
|
|
||||||
export interface EffectComposerInterface {
|
export interface EffectComposerInterface {
|
||||||
renderer: RendererPublicInterface
|
renderer: RendererPublicInterface
|
||||||
|
@ -2,7 +2,8 @@ import { defineComponent, inject, InjectionKey, onUnmounted, provide } from 'vue
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import * as PP from 'postprocessing'
|
import * as PP from 'postprocessing'
|
||||||
import { ComposerInjectionKey, EffectComposerInterface } from './EffectComposer'
|
import { ComposerInjectionKey, EffectComposerInterface } from './EffectComposer'
|
||||||
import { RendererPublicInterface } from '../../../export'
|
import { RendererPublicInterface } from '../../../../build/trois'
|
||||||
|
// import { RendererPublicInterface } from '../../../export'
|
||||||
|
|
||||||
export interface EffectPassInterface {
|
export interface EffectPassInterface {
|
||||||
composer: EffectComposerInterface
|
composer: EffectComposerInterface
|
||||||
|
@ -2,8 +2,8 @@ import { defineComponent, inject, onUnmounted, PropType } from 'vue'
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import * as PP from 'postprocessing'
|
import * as PP from 'postprocessing'
|
||||||
import { ComposerInjectionKey } from './EffectComposer'
|
import { ComposerInjectionKey } from './EffectComposer'
|
||||||
// import { RendererPublicInterface } from '../../../build/trois'
|
import { RendererPublicInterface } from '../../../../build/trois'
|
||||||
import { RendererPublicInterface } from '../../../export'
|
// import { RendererPublicInterface } from '../../../export'
|
||||||
|
|
||||||
type PassTypes = 'render' | 'blur'
|
type PassTypes = 'render' | 'blur'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user