Explorar o código

Matrix3/4: Update .applyToBufferAttribute()

Mugen87 %!s(int64=8) %!d(string=hai) anos
pai
achega
e863f01a65
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      docs/api/math/Matrix3.html
  2. 2 2
      docs/api/math/Matrix4.html

+ 1 - 1
docs/api/math/Matrix3.html

@@ -76,7 +76,7 @@ m.elements = [ 11, 21, 31,
 		<div>
 		[page:BufferAttribute attribute] - An attribute of floats that represent 3D vectors.<br />
 		[page:Number offset] - (optional) index in the attribute of the first vector. Default is 0.<br />
-		[page:Number count] - (optional) index in the attribute of the last vector. Default is the last element in the attribute.<br /><br />
+		[page:Number count] - (optional) number of vectors that are processed. Default is attribute.count.<br /><br />
 
 		Multiplies (applies) this matrix to every 3D vector in the [page:BufferAttribute attribute].
 		</div>

+ 2 - 2
docs/api/math/Matrix4.html

@@ -114,9 +114,9 @@ m.elements = [ 11, 21, 31, 41,
 		<div>
 		[page:BufferAttribute attribute] - An attribute of floats that represent 3D vectors.<br />
 		[page:Number offset] - (optional) index in the attribute of the first vector. Default is 0.<br />
-		[page:Number count] - (optional) index in the attribute of the last vector. Default is the last element in the attribute.<br /><br />
+		[page:Number count] - (optional) number of vectors that are processed. Default is attribute.count.<br /><br />
 
-		Multiplies (applies) the upper 3x3 matrix of this matrix to every 3D vector in the [page:BufferAttribute attribute].
+		Multiplies (applies) this matrix to every 3D vector in the [page:BufferAttribute attribute].
 		</div>