/** * @author mrdoob / http://mrdoob.com/ * * parameters = { * opacity: , * shading: THREE.FlatShading, * blending: THREE.NormalBlending, * depthTest: , * wireframe: , * wireframeLinewidth: * } */ THREE.MeshNormalMaterial = function ( parameters ) { THREE.Material.call( this, parameters ); this.shading = THREE.FlatShading; this.wireframe = false; this.wireframeLinewidth = 1; this.setValues( parameters ); }; THREE.MeshNormalMaterial.prototype = Object.create( THREE.Material.prototype ); THREE.MeshNormalMaterial.prototype.clone = function () { var material = new THREE.MeshNormalMaterial(); THREE.Material.prototype.clone.call( this, material ); material.shading = this.shading; material.wireframe = this.wireframe; material.wireframeLinewidth = this.wireframeLinewidth; return material; };