Переглянути джерело

Ninja tweak for code example

Greg Tatum 10 роки тому
батько
коміт
f62d9318c3
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      docs/api/objects/SkinnedMesh.html

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

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