Skip to content

Commit 499c867

Browse files
committed
Modify fix up vector parameter name.
1 parent ae8f1b0 commit 499c867

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

source/engine/viewer/navigation.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ export class Navigation
287287
return this.fixUpVector;
288288
}
289289

290-
SetFixUpVector (fixUpVector)
290+
SetFixUpVector (isFixUpVector)
291291
{
292-
this.fixUpVector = fixUpVector;
292+
this.fixUpVector = isFixUpVector;
293293
}
294294

295295
GetCamera ()

source/engine/viewer/viewer.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -442,11 +442,11 @@ export class Viewer
442442
return this.navigation.IsFixUpVector ();
443443
}
444444

445-
SetFixUpVector (fixUpVector)
445+
SetFixUpVector (isFixUpVector)
446446
{
447447
let oldCamera = this.navigation.GetCamera ();
448-
let newCamera = this.upVector.SetFixed (fixUpVector, oldCamera);
449-
this.navigation.SetFixUpVector (fixUpVector);
448+
let newCamera = this.upVector.SetFixed (isFixUpVector, oldCamera);
449+
this.navigation.SetFixUpVector (isFixUpVector);
450450
if (newCamera !== null) {
451451
this.navigation.MoveCamera (newCamera, this.settings.animationSteps);
452452
}

0 commit comments

Comments
 (0)