mirror of
https://github.com/nasa/openmct.git
synced 2024-12-27 08:32:28 +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() {
|
||||
return this.hasGimble
|
||||
? rotate(this.cameraAzimuth)
|
||||
: rotate(this.heading, -this.transformations?.rotation ?? 0);
|
||||
: rotate(this.heading, -(this.transformations.rotation || 0));
|
||||
},
|
||||
// horizontal rotation from north in degrees
|
||||
heading() {
|
||||
|
Loading…
Reference in New Issue
Block a user