Browse Source

Merge pull request #19842 from Mugen87/dev51

NodeMaterial: Clean up.
Mr.doob 5 năm trước cách đây
mục cha
commit
87546f3b56
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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 );
 
-	var scope = this;
-
 	this.vertex = vertex || new RawNode( new PositionNode( PositionNode.PROJECTION ) );
 	this.fragment = fragment || new RawNode( new ColorNode( 0xFF0000 ) );