Skip to content

Commit

Permalink
MeshGouraudMaterial: Removed /*@__PURE__*/ instances.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Aug 12, 2022
1 parent 4fbe3bd commit c5ab44c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/js/materials/MeshGouraudMaterial.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*
*/
const GouraudShader = {
uniforms: /*@__PURE__*/UniformsUtils.merge( [ THREE.UniformsLib.common, THREE.UniformsLib.specularmap, THREE.UniformsLib.envmap, THREE.UniformsLib.aomap, THREE.UniformsLib.lightmap, THREE.UniformsLib.emissivemap, THREE.UniformsLib.fog, THREE.UniformsLib.lights, {
uniforms: THREE.UniformsUtils.merge( [ THREE.UniformsLib.common, THREE.UniformsLib.specularmap, THREE.UniformsLib.envmap, THREE.UniformsLib.aomap, THREE.UniformsLib.lightmap, THREE.UniformsLib.emissivemap, THREE.UniformsLib.fog, THREE.UniformsLib.lights, {
emissive: {
value: /*@__PURE__*/new THREE.Color( 0x000000 )
value: new THREE.Color( 0x000000 )
}
} ] ),
vertexShader:
Expand Down
4 changes: 2 additions & 2 deletions examples/jsm/materials/MeshGouraudMaterial.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { UniformsUtils, UniformsLib, ShaderMaterial, Color, MultiplyOperation }

const GouraudShader = {

uniforms: /*@__PURE__*/ UniformsUtils.merge( [
uniforms: UniformsUtils.merge( [
UniformsLib.common,
UniformsLib.specularmap,
UniformsLib.envmap,
Expand All @@ -19,7 +19,7 @@ const GouraudShader = {
UniformsLib.fog,
UniformsLib.lights,
{
emissive: { value: /*@__PURE__*/ new Color( 0x000000 ) }
emissive: { value: new Color( 0x000000 ) }
}
] ),

Expand Down

0 comments on commit c5ab44c

Please sign in to comment.