Browse Source

teapotMesh to teapotGeometry

name change
Eric Haines 10 years ago
parent
commit
91c804c7a1
1 changed files with 2 additions and 2 deletions
  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 : (