浏览代码

LatheBufferGeometry: Correct comments

Mugen87 9 年之前
父节点
当前提交
f5778ab990
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/extras/geometries/LatheBufferGeometry.js

+ 2 - 2
src/extras/geometries/LatheBufferGeometry.js

@@ -113,7 +113,7 @@ THREE.LatheBufferGeometry = function ( points, segments, phiStart, phiLength ) {
 
 	this.computeVertexNormals();
 
-	// if the geometry is closed, we need to merge the first and last normal of a vertex row
+	// if the geometry is closed, we need to average the normals along the seam.
 	// because the corresponding vertices are identical (but still have different UVs).
 
 	if( phiLength === Math.PI * 2 ) {
@@ -138,7 +138,7 @@ THREE.LatheBufferGeometry = function ( points, segments, phiStart, phiLength ) {
 			n2.y = normals[ base + j + 1 ];
 			n2.z = normals[ base + j + 2 ];
 
-			// merge normals
+			// average normals
 			n.addVectors( n1, n2 ).normalize();
 
 			// assign the new values to both normals