... | ... |
@@ -424,8 +424,9 @@ var displayClass = { |
424 | 424 |
elsif (pitch < -80) |
425 | 425 |
pitch = -80; |
426 | 426 |
me.screenElements.Horizon |
427 |
+ .setCenter(459, 282.8 - 6.849 * pitch) |
|
427 | 428 |
.setRotation(-roll * D2R) |
428 |
- .setTranslation(0, pitch * 6.8571428); |
|
429 |
+ .setTranslation(0, pitch * 6.849); |
|
429 | 430 |
me.screenElements.bankPointer |
430 | 431 |
.setRotation(-roll * D2R); |
431 | 432 |
settimer(func me.updateAI(), 0.1); |