kopia lustrzana https://github.com/cyoung/stratux
Reverse UI pitch animation direction
rodzic
8410819ae2
commit
2d7e213af2
|
@ -212,7 +212,7 @@ void main() { \
|
|||
|
||||
g.mvMatrix.rotate(15, 1, 0, 0); // adjust viewing angle slightly by pitching the airplane up
|
||||
|
||||
g.mvMatrix.rotate(-this.pitch, 1, 0, 0);
|
||||
g.mvMatrix.rotate(this.pitch, 1, 0, 0);
|
||||
g.mvMatrix.rotate(-this.roll, 0, 0, 1);
|
||||
g.mvMatrix.rotate(-this.heading, 0, 1, 0);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue