浏览代码

Docs: Fixed BufferGeometry index itemSize. See #9236.

Mr.doob 9 年之前
父节点
当前提交
2be6078bbe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/api/core/BufferGeometry.html

+ 1 - 1
docs/api/core/BufferGeometry.html

@@ -76,7 +76,7 @@
 		Set by [page:.fromGeometry]().
 		</div>
 
-		<h4>[page:BufferAttribute index] (itemSize: 3)</h4>
+		<h4>[page:BufferAttribute index] (itemSize: 1)</h4>
 		Allows for vertices to be re-used across multiple triangles; this is called using "indexed triangles," and works much the same as it does in [page:Geometry]: each triangle is associated with the index of three vertices. This attribute therefore stores the index of each vertex for each triangular face.
 
 		If this attribute is not set, the [page:WebGLRenderer renderer] assumes that each three contiguous positions represent a single triangle.