Explorar o código

Merge pull request #7768 from mrdoob/dev-teapot

Make the default lid properly-sized
Mr.doob %!s(int64=9) %!d(string=hai) anos
pai
achega
c44b10d324
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      examples/js/geometries/TeapotBufferGeometry.js

+ 2 - 2
examples/js/geometries/TeapotBufferGeometry.js

@@ -415,8 +415,8 @@ THREE.TeapotBufferGeometry = function ( size, segments, bottom, lid, body, fitLi
 	lid = lid === undefined ? true : lid;
 	body = body === undefined ? true : body;
 
-	// Should the lid be snug? It's not traditional, so off by default
-	fitLid = fitLid === undefined ? false : fitLid;
+	// Should the lid be snug? It's not traditional, but we make it snug by default
+	fitLid = fitLid === undefined ? true : fitLid;
 
 	// Jim Blinn scaled the teapot down in size by about 1.3 for
 	// some rendering tests. He liked the new proportions that he kept