Explorar o código

Merge pull request #12663 from MagnuzBinder/patch-3

fix index error in example
Mr.doob %!s(int64=7) %!d(string=hai) anos
pai
achega
af7e865544
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      docs/api/core/Geometry.html

+ 2 - 2
docs/api/core/Geometry.html

@@ -159,8 +159,8 @@
 		In code another example could look like this:
 		<code>
 		// e.g.
-		geometry.skinIndices[15] = new THREE.Vector4(   0,   5,   9, 0 );
-		geometry.skinWeights[15] = new THREE.Vector4( 0.2, 0.5, 0.3, 0 );
+		geometry.skinIndices[15] = new THREE.Vector4(   0,   5,   9, 10 );
+		geometry.skinWeights[15] = new THREE.Vector4( 0.2, 0.5, 0.3,  0 );
 
 		// corresponds with the following vertex
 		geometry.vertices[15];