2
0
Эх сурвалжийг харах

Docs: Fixed BufferGeometry index itemSize. See #9236.

Mr.doob 9 жил өмнө
parent
commit
2be6078bbe

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

@@ -76,7 +76,7 @@
 		Set by [page:.fromGeometry]().
 		Set by [page:.fromGeometry]().
 		</div>
 		</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.
 		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.
 		If this attribute is not set, the [page:WebGLRenderer renderer] assumes that each three contiguous positions represent a single triangle.