Browse Source

NodeMaterial: Clean up.

Mugen87 5 years ago
parent
commit
59e4cd2b0d
1 changed files with 0 additions and 2 deletions
  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 ) );