瀏覽代碼

teapotMesh to teapotGeometry

name change
Eric Haines 10 年之前
父節點
當前提交
91c804c7a1
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 : (