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

Ninja tweak for code example

Greg Tatum 10 жил өмнө
parent
commit
f62d9318c3

+ 1 - 1
docs/api/objects/SkinnedMesh.html

@@ -43,7 +43,7 @@
 		mesh.bind( armSkeleton );
 		mesh.bind( armSkeleton );
 		
 		
 		// Update the inverse matrices in the skeleton to reflect the newly bound skeleton
 		// Update the inverse matrices in the skeleton to reflect the newly bound skeleton
-		skeleton.calculateInverses();
+		armSkeleton.calculateInverses();
 		
 		
 		// Move the bones and manipulate the model
 		// Move the bones and manipulate the model
 		armSkeleton.bones[0].rotation.x = -0.1;
 		armSkeleton.bones[0].rotation.x = -0.1;