Modify fix up vector parameter name.
This commit is contained in:
parent
ae8f1b0c25
commit
499c867f4c
@ -287,9 +287,9 @@ export class Navigation
|
||||
return this.fixUpVector;
|
||||
}
|
||||
|
||||
SetFixUpVector (fixUpVector)
|
||||
SetFixUpVector (isFixUpVector)
|
||||
{
|
||||
this.fixUpVector = fixUpVector;
|
||||
this.fixUpVector = isFixUpVector;
|
||||
}
|
||||
|
||||
GetCamera ()
|
||||
|
||||
@ -442,11 +442,11 @@ export class Viewer
|
||||
return this.navigation.IsFixUpVector ();
|
||||
}
|
||||
|
||||
SetFixUpVector (fixUpVector)
|
||||
SetFixUpVector (isFixUpVector)
|
||||
{
|
||||
let oldCamera = this.navigation.GetCamera ();
|
||||
let newCamera = this.upVector.SetFixed (fixUpVector, oldCamera);
|
||||
this.navigation.SetFixUpVector (fixUpVector);
|
||||
let newCamera = this.upVector.SetFixed (isFixUpVector, oldCamera);
|
||||
this.navigation.SetFixUpVector (isFixUpVector);
|
||||
if (newCamera !== null) {
|
||||
this.navigation.MoveCamera (newCamera, this.settings.animationSteps);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user