Commit f6166d4b authored by dogmaphobic's avatar dogmaphobic

Fixed angular scale issue.

parent 1fe3db00
......@@ -35,6 +35,9 @@ Item {
property real pitchAngle: 0
clip: true
anchors.fill: parent
property real angularScale: pitchAngle * root.height / 45
Item {
id: artificialHorizon
width: root.width * 4
......@@ -67,7 +70,7 @@ Item {
}
transform: [
Translate {
y: pitchAngle * 4
y: angularScale
},
Rotation {
origin.x: artificialHorizon.width / 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment