ソースを参照

Playground: Fix usage of `timerLocal`. (#31889)

Michael Herzog 8 ヶ月 前
コミット
3ecd1c3872
1 ファイル変更2 行追加2 行削除
  1. 2 2
      playground/editors/TimerEditor.js

+ 2 - 2
playground/editors/TimerEditor.js

@@ -1,12 +1,12 @@
 import { NumberInput, LabelElement, Element, ButtonInput } from 'flow';
 import { NumberInput, LabelElement, Element, ButtonInput } from 'flow';
 import { BaseNodeEditor } from '../BaseNodeEditor.js';
 import { BaseNodeEditor } from '../BaseNodeEditor.js';
-import { timerLocal } from 'three/tsl';
+import { time } from 'three/tsl';
 
 
 export class TimerEditor extends BaseNodeEditor {
 export class TimerEditor extends BaseNodeEditor {
 
 
 	constructor() {
 	constructor() {
 
 
-		const node = timerLocal();
+		const node = time;
 
 
 		super( 'Timer', node, 200 );
 		super( 'Timer', node, 200 );
 
 

粤ICP备19079148号