Browse Source

set default value for adjustRoll

Adam Bowman 8 năm trước cách đây
mục cha
commit
e0ef989437

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

@@ -18,7 +18,7 @@ module BABYLON {
         private _tmpMat1 = Matrix.Identity();
         private _tmpMat1 = Matrix.Identity();
         private _tmpMat2 = 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.mesh = mesh;
             this.bone = bone;
             this.bone = bone;
@@ -27,7 +27,7 @@ module BABYLON {
             this.adjustYaw = adjustYaw;
             this.adjustYaw = adjustYaw;
             this.adjustPitch = adjustPitch;
             this.adjustPitch = adjustPitch;
             this.adjustRoll = adjustRoll;
             this.adjustRoll = adjustRoll;
-            
+
         }
         }
 
 
         public update (): void {
         public update (): void {