@@ -37,7 +37,7 @@ class LineBasicMaterial extends Material {
copy( source ) {
- Material.prototype.copy.call( this, source );
+ super.copy( source );
this.color.copy( source.color );
@@ -53,7 +53,7 @@ class MeshDepthMaterial extends Material {
this.depthPacking = source.depthPacking;
@@ -85,7 +85,7 @@ class MeshLambertMaterial extends Material {
@@ -116,7 +116,7 @@ class MeshPhongMaterial extends Material {
this.specular.copy( source.specular );
@@ -73,7 +73,7 @@ class MeshPhysicalMaterial extends MeshStandardMaterial {
- MeshStandardMaterial.prototype.copy.call( this, source );
this.defines = {
@@ -124,7 +124,7 @@ class MeshStandardMaterial extends Material {
this.defines = { 'STANDARD': '' };
@@ -92,7 +92,7 @@ class ShaderMaterial extends Material {
this.fragmentShader = source.fragmentShader;
this.vertexShader = source.vertexShader;
@@ -39,7 +39,7 @@ class SpriteMaterial extends Material {