瀏覽代碼

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() {


Loading…
取消
儲存