浏览代码

Fix editor import

master
Palash Bansal 1年前
父节点
当前提交
b41053447b
没有帐户链接到提交者的电子邮件
共有 3 个文件被更改,包括 3 次插入2 次删除
  1. 1
    0
      examples/globals.d.ts
  2. 1
    1
      examples/tweakpane-editor/ThreeEditor.ts
  3. 1
    1
      examples/tweakpane-editor/script.ts

+ 1
- 0
examples/globals.d.ts 查看文件

@@ -1 +1,2 @@
export const DUMMY: string
export const CESIUM_ION_API_TOKEN: string

+ 1
- 1
examples/tweakpane-editor/ThreeEditor.ts 查看文件

@@ -91,11 +91,11 @@ export class ThreeEditor extends ThreeViewer {
new GBufferPlugin(HalfFloatType, true, true, true),
new DepthBufferPlugin(HalfFloatType, false, false),
new NormalBufferPlugin(HalfFloatType, false),
CameraViewPlugin,
PickingPlugin,
new TransformControlsPlugin(false),
OutlinePlugin,
EditorViewWidgetPlugin,
CameraViewPlugin,
ViewerUiConfigPlugin,
ClearcoatTintPlugin,
FragmentClippingExtensionPlugin,

+ 1
- 1
examples/tweakpane-editor/script.ts 查看文件

@@ -1,6 +1,6 @@
import {_testFinish, _testStart, DropzonePlugin, getUrlQueryParam, HemisphereLight} from 'threepipe'
import {TransfrSharePlugin} from '@threepipe/plugin-network'
import {ThreeEditor} from './ThreeEditor'
import {ThreeEditor} from './ThreeEditor.js'

async function init() {


正在加载...
取消
保存