Browse Source

teapotMesh to teapotGeometry

name change
Eric Haines 10 năm trước cách đây
mục cha
commit
91c804c7a1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      examples/webgl_buffergeometry_teapot.html

+ 2 - 2
examples/webgl_buffergeometry_teapot.html

@@ -367,7 +367,7 @@
 					
 				}
 
-				var teapotMesh = new THREE.TeapotBufferGeometry( teapotSize,
+				var teapotGeometry = new THREE.TeapotBufferGeometry( teapotSize,
 					tess,
 					effectController.bottom,
 					effectController.lid,
@@ -376,7 +376,7 @@
 					! effectController.nonblinn );
 
 				teapot = new THREE.Mesh(
-					teapotMesh,
+					teapotGeometry,
 					shading === "wireframe" ? wireMaterial : (
 					shading === "flat" ? flatMaterial : (
 					shading === "smooth" ? gouraudMaterial : (