提交 caa62466 编写于 作者: M Mr.doob

GridHelper: Removed parameters object.

上级 f911c9fb
......@@ -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 );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册