Explorar o código

Merge pull request #19842 from Mugen87/dev51

NodeMaterial: Clean up.
Mr.doob %!s(int64=5) %!d(string=hai) anos
pai
achega
87546f3b56
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      examples/jsm/nodes/materials/NodeMaterial.js

+ 0 - 2
examples/jsm/nodes/materials/NodeMaterial.js

@@ -19,8 +19,6 @@ function NodeMaterial( vertex, fragment ) {
 
 
 	ShaderMaterial.call( this );
 	ShaderMaterial.call( this );
 
 
-	var scope = this;
-
 	this.vertex = vertex || new RawNode( new PositionNode( PositionNode.PROJECTION ) );
 	this.vertex = vertex || new RawNode( new PositionNode( PositionNode.PROJECTION ) );
 	this.fragment = fragment || new RawNode( new ColorNode( 0xFF0000 ) );
 	this.fragment = fragment || new RawNode( new ColorNode( 0xFF0000 ) );