浏览代码

Merge pull request #7768 from mrdoob/dev-teapot

Make the default lid properly-sized
Mr.doob 9 年之前
父节点
当前提交
c44b10d324
共有 1 个文件被更改,包括 2 次插入2 次删除
  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