浏览代码

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;