瀏覽代碼

HemisphereLightNode: Fix construct() call (#26441)

sunag 2 年之前
父節點
當前提交
3a21afde31
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/jsm/nodes/lighting/HemisphereLightNode.js

+ 1 - 1
examples/jsm/nodes/lighting/HemisphereLightNode.js

@@ -33,7 +33,7 @@ class HemisphereLightNode extends AnalyticLightNode {
 
 	}
 
-	generate( builder ) {
+	construct( builder ) {
 
 		const { colorNode, groundColorNode, lightDirectionNode } = this;