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;
|
return this.fixUpVector;
|
||||||
}
|
}
|
||||||
|
|
||||||
SetFixUpVector (fixUpVector)
|
SetFixUpVector (isFixUpVector)
|
||||||
{
|
{
|
||||||
this.fixUpVector = fixUpVector;
|
this.fixUpVector = isFixUpVector;
|
||||||
}
|
}
|
||||||
|
|
||||||
GetCamera ()
|
GetCamera ()
|
||||||
|
|||||||
@ -442,11 +442,11 @@ export class Viewer
|
|||||||
return this.navigation.IsFixUpVector ();
|
return this.navigation.IsFixUpVector ();
|
||||||
}
|
}
|
||||||
|
|
||||||
SetFixUpVector (fixUpVector)
|
SetFixUpVector (isFixUpVector)
|
||||||
{
|
{
|
||||||
let oldCamera = this.navigation.GetCamera ();
|
let oldCamera = this.navigation.GetCamera ();
|
||||||
let newCamera = this.upVector.SetFixed (fixUpVector, oldCamera);
|
let newCamera = this.upVector.SetFixed (isFixUpVector, oldCamera);
|
||||||
this.navigation.SetFixUpVector (fixUpVector);
|
this.navigation.SetFixUpVector (isFixUpVector);
|
||||||
if (newCamera !== null) {
|
if (newCamera !== null) {
|
||||||
this.navigation.MoveCamera (newCamera, this.settings.animationSteps);
|
this.navigation.MoveCamera (newCamera, this.settings.animationSteps);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user