Normalize angles for bearings on tanker.
Patch from Jean PELLOTIER.
This commit is contained in:
parent
fd4e61869b
commit
cad64a9711
1 changed files with 2 additions and 2 deletions
|
@ -257,8 +257,8 @@ var Tanker = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
me.hOffsetN.setDoubleValue(me.bearing - ac_hdg);
|
me.hOffsetN.setDoubleValue(view.normdeg(me.bearing - ac_hdg));
|
||||||
me.vOffsetN.setDoubleValue(elev - ac_pitch);
|
me.vOffsetN.setDoubleValue(view.normdeg(elev - ac_pitch));
|
||||||
|
|
||||||
var droll = me.roll_target - me.roll;
|
var droll = me.roll_target - me.roll;
|
||||||
if (droll > 0) {
|
if (droll > 0) {
|
||||||
|
|
Loading…
Reference in a new issue