mirror of
https://github.com/nasa/openmct.git
synced 2024-12-28 00:48:51 +00:00
rotate function needs to work with numbers
This commit is contained in:
parent
a350c8e584
commit
2aa757c6b7
@ -75,7 +75,7 @@ export default {
|
|||||||
normalizedCameraAzimuth() {
|
normalizedCameraAzimuth() {
|
||||||
return this.hasGimble
|
return this.hasGimble
|
||||||
? rotate(this.cameraAzimuth)
|
? rotate(this.cameraAzimuth)
|
||||||
: rotate(this.heading, -this.transformations?.rotation ?? 0);
|
: rotate(this.heading, -(this.transformations.rotation || 0));
|
||||||
},
|
},
|
||||||
// horizontal rotation from north in degrees
|
// horizontal rotation from north in degrees
|
||||||
heading() {
|
heading() {
|
||||||
|
Loading…
Reference in New Issue
Block a user