소스 검색

code style.

Pan Xinmiao 6 년 전
부모
커밋
b247af1bd2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      examples/js/animation/MMDPhysics.js

+ 2 - 2
examples/js/animation/MMDPhysics.js

@@ -1079,9 +1079,9 @@ THREE.MMDPhysics = ( function () {
 			matrixInv.copy( this.bone.parent.matrixWorld ).getInverse( matrixInv );
 			
 			var pos = manager.allocThreeVector3();
-			pos.set(origin.x(), origin.y(), origin.z()).applyMatrix4(matrixInv);
+			pos.set( origin.x(), origin.y(), origin.z() ).applyMatrix4( matrixInv );
 
-			this.bone.position.copy(pos);
+			this.bone.position.copy( pos );
 
 			manager.freeThreeVector3( pos );
 			manager.freeThreeMatrix4( matrixInv );