浏览代码

style: Correct spelling mistake (#23993)

Missing l in clearcoatNormalMap
Jes 3 年之前
父节点
当前提交
ce66f72b53
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      examples/webgl_materials_physical_clearcoat.html

+ 3 - 3
examples/webgl_materials_physical_clearcoat.html

@@ -88,7 +88,7 @@
 
 
 							const normalMap4 = textureLoader.load( 'textures/golfball.jpg' );
 							const normalMap4 = textureLoader.load( 'textures/golfball.jpg' );
 
 
-							const clearcoatNormaMap = textureLoader.load( 'textures/pbr/Scratched_gold/Scratched_gold_01_1K_Normal.png' );
+							const clearcoatNormalMap = textureLoader.load( 'textures/pbr/Scratched_gold/Scratched_gold_01_1K_Normal.png' );
 
 
 							// car paint
 							// car paint
 
 
@@ -128,7 +128,7 @@
 								roughness: 0.1,
 								roughness: 0.1,
 								clearcoat: 1.0,
 								clearcoat: 1.0,
 								normalMap: normalMap4,
 								normalMap: normalMap4,
-								clearcoatNormalMap: clearcoatNormaMap,
+								clearcoatNormalMap: clearcoatNormalMap,
 
 
 								// y scale is negated to compensate for normal map handedness.
 								// y scale is negated to compensate for normal map handedness.
 								clearcoatNormalScale: new THREE.Vector2( 2.0, - 2.0 )
 								clearcoatNormalScale: new THREE.Vector2( 2.0, - 2.0 )
@@ -146,7 +146,7 @@
 								color: 0xff0000,
 								color: 0xff0000,
 								normalMap: normalMap2,
 								normalMap: normalMap2,
 								normalScale: new THREE.Vector2( 0.15, 0.15 ),
 								normalScale: new THREE.Vector2( 0.15, 0.15 ),
-								clearcoatNormalMap: clearcoatNormaMap,
+								clearcoatNormalMap: clearcoatNormalMap,
 
 
 								// y scale is negated to compensate for normal map handedness.
 								// y scale is negated to compensate for normal map handedness.
 								clearcoatNormalScale: new THREE.Vector2( 2.0, - 2.0 )
 								clearcoatNormalScale: new THREE.Vector2( 2.0, - 2.0 )