Преглед изворни кода

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;