Commit Graph

9 Commits

Author SHA1 Message Date
John Firebaugh
9330d674a9 [core] Use geometry.hpp's point 2016-05-05 11:30:53 -07:00
Bruno de Oliveira Abinader
1d984d2bb2 [core] Get rid of mbgl/util/vec4 - use vec4 from vec.hpp instead 2016-03-01 20:58:54 +00:00
Konstantin Käfer
4fc8226838 [core] allow changing the orientation
You can now change the orientation of north to be to the right, bottom, left in addition to the default of top
2015-12-15 11:41:58 -08:00
Ansis Brammanis
b05f5c5f7f increase precision for coordinate conversions
This fixes the earthquakes while panning at high zoom levels.

Cherry-picked from 9607171612c4a40e41eddaff5230ad571571a5b9 on the perspective-improved-gestures branch.
2015-09-11 15:13:45 -07:00
Ansis Brammanis
cef1b25444 port invert and transformMat4 from gl-matrix 2015-08-24 18:41:51 -04:00
Ansis Brammanis
554425b753 fix earthquakes in perspective view
Use higher precision for matrix calculations so that the map does not
jump around while zooming.
2015-08-24 18:41:50 -04:00
Ansis Brammanis
d513910712 port mat4.perspective and mat4.rotate_x 2015-08-24 18:41:49 -04:00
John Firebaugh
2d8d375356 Fix intended identity comparisons 2015-05-01 10:06:04 -04:00
Konstantin Käfer
abafb52f37 make most headers private 2014-12-04 20:02:50 +01:00