Merge: Asteronits: fix mobile on-screen controls
authorJean Privat <jean@pryen.org>
Tue, 17 May 2016 11:20:25 +0000 (07:20 -0400)
committerJean Privat <jean@pryen.org>
Tue, 17 May 2016 11:20:25 +0000 (07:20 -0400)
This is a long overdue update to Asteronits, the on-screen controls for mobiles devices were broken since the inverted Y axis incident. The problem is that a correct Y axis in 3D, when sharing world coordinates with the 2D, doesn't look right in 2D. The origin is at the bottom left of the screen, and positive angles are counter-clockwise. I don't like this representation in 2D, but I don't know to improve it, so let's update the clients of `gamnit::flat` instead!

Pull-Request: #2095
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Romain Chanoir <romain.chanoir@viacesi.fr>


Trivial merge