|
@@ -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 );
|
|
|
|