提交 2be6078b 编写于 作者: M Mr.doob

Docs: Fixed BufferGeometry index itemSize. See #9236.

上级 cb71bd01
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册