Bläddra i källkod

teapotMesh to teapotGeometry

name change
Eric Haines 10 år sedan
förälder
incheckning
91c804c7a1
1 ändrade filer med 2 tillägg och 2 borttagningar
  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,
 					tess,
 					effectController.bottom,
 					effectController.bottom,
 					effectController.lid,
 					effectController.lid,
@@ -376,7 +376,7 @@
 					! effectController.nonblinn );
 					! effectController.nonblinn );
 
 
 				teapot = new THREE.Mesh(
 				teapot = new THREE.Mesh(
-					teapotMesh,
+					teapotGeometry,
 					shading === "wireframe" ? wireMaterial : (
 					shading === "wireframe" ? wireMaterial : (
 					shading === "flat" ? flatMaterial : (
 					shading === "flat" ? flatMaterial : (
 					shading === "smooth" ? gouraudMaterial : (
 					shading === "smooth" ? gouraudMaterial : (