浏览代码

set default value for adjustRoll

Adam Bowman 8 年之前
父节点
当前提交
e0ef989437
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Bones/babylon.boneLookController.ts

+ 2 - 2
src/Bones/babylon.boneLookController.ts

@@ -18,7 +18,7 @@ module BABYLON {
         private _tmpMat1 = Matrix.Identity();
         private _tmpMat2 = Matrix.Identity();
 
-        constructor(mesh: AbstractMesh, bone: Bone, target: Vector3, adjustYaw: number = 0, adjustPitch: number = 0, adjustRoll: number){
+        constructor(mesh: AbstractMesh, bone: Bone, target: Vector3, adjustYaw: number = 0, adjustPitch: number = 0, adjustRoll: number = 0){
 
             this.mesh = mesh;
             this.bone = bone;
@@ -27,7 +27,7 @@ module BABYLON {
             this.adjustYaw = adjustYaw;
             this.adjustPitch = adjustPitch;
             this.adjustRoll = adjustRoll;
-            
+
         }
 
         public update (): void {