Przeglądaj źródła

GridHelper: Removed parameters object.

Mr.doob 6 lat temu
rodzic
commit
caa62466fb
1 zmienionych plików z 0 dodań i 9 usunięć
  1. 0 9
      src/helpers/GridHelper.js

+ 0 - 9
src/helpers/GridHelper.js

@@ -11,13 +11,6 @@ import { Color } from '../math/Color.js';
 
 function GridHelper( size, divisions, color1, color2 ) {
 
-	this.parameters = {
-		size: size,
-		divisions: divisions,
-		color1: color1,
-		color2: color2
-	};
-
 	size = size || 10;
 	divisions = divisions || 10;
 	color1 = new Color( color1 !== undefined ? color1 : 0x444444 );
@@ -61,8 +54,6 @@ GridHelper.prototype = Object.assign( Object.create( LineSegments.prototype ), {
 
 		LineSegments.prototype.copy.call( this, source );
 
-		Object.assign( this.parameters, source.parameters );
-
 		this.geometry.copy( source.geometry );
 		this.material.copy( source.material );