Libgdx/Java: After converting GPS to pixelcoordinates, route is rotated 90°
Libgdx/Java: After converting GPS to pixelcoordinates, route is rotated 90° I had written before about implementing a map in my libgdx project. I did that using a snapshot of said google map, importing the GPS bounds of the snapshot, the route-latlong values, a locationservice (via interface) and the snapshot as Gdx.files.local string. Hopefully, the last issue I have right now is that the route is rotated about 45 degrees clockwise. Otherwise my 'enemies' walk a perfect path. I already figured out that I had to 'flip' my y-axis; before that it was rotated AND flipped upside down. I was hoping someone here with more experience might have dealt with something similar before and has some advice :) This is basically the code that creates a Waypoint array, after converting the GPS coordinates to pixel-coordinates that correspond to the gps-bounds of the map-snapshot (bottom-left-corner and upper-right-corner see here, as well as the width and height of the map-texture. priv