Kaynağa Gözat

Nodes: code cleanup (#29057)

Co-authored-by: aardgoose <angus.sawyer@email.com>
aardgoose 1 yıl önce
ebeveyn
işleme
0dd714ecc9

+ 2 - 2
src/nodes/core/NodeBuilder.js

@@ -129,7 +129,7 @@ class NodeBuilder {
 
 
 	}
 	}
 
 
-	getBingGroupsCache() {
+	getBindGroupsCache() {
 
 
 		let bindGroupsCache = rendererCache.get( this.renderer );
 		let bindGroupsCache = rendererCache.get( this.renderer );
 
 
@@ -173,7 +173,7 @@ class NodeBuilder {
 
 
 	_getBindGroup( groupName, bindings ) {
 	_getBindGroup( groupName, bindings ) {
 
 
-		const bindGroupsCache = this.getBingGroupsCache();
+		const bindGroupsCache = this.getBindGroupsCache();
 
 
 		//
 		//
 
 

+ 1 - 0
src/nodes/materials/MeshPhongNodeMaterial.js

@@ -35,6 +35,7 @@ class MeshPhongNodeMaterial extends NodeMaterial {
 		return envNode ? new BasicEnvironmentNode( envNode ) : null;
 		return envNode ? new BasicEnvironmentNode( envNode ) : null;
 
 
 	}
 	}
+
 	setupLightingModel( /*builder*/ ) {
 	setupLightingModel( /*builder*/ ) {
 
 
 		return new PhongLightingModel();
 		return new PhongLightingModel();

粤ICP备19079148号