From ba7427b4acf116aca7451ad3a6067dc234d3fa70 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Fri, 1 Mar 2019 09:58:58 +0200 Subject: [core] Transform{State}: s/angle/bearing/ --- include/mbgl/map/camera.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/mbgl/map/camera.hpp b/include/mbgl/map/camera.hpp index 69d699a4e4..e3d6677c0a 100644 --- a/include/mbgl/map/camera.hpp +++ b/include/mbgl/map/camera.hpp @@ -19,7 +19,7 @@ struct CameraOptions { CameraOptions& withPadding(const EdgeInsets& p) { padding = p; return *this; } CameraOptions& withAnchor(const optional& o) { anchor = o; return *this; } CameraOptions& withZoom(const optional& o) { zoom = o; return *this; } - CameraOptions& withAngle(const optional& o) { angle = o; return *this; } + CameraOptions& withBearing(const optional& o) { bearing = o; return *this; } CameraOptions& withPitch(const optional& o) { pitch = o; return *this; } /** Coordinate at the center of the map. */ @@ -38,7 +38,7 @@ struct CameraOptions { optional zoom; /** Bearing, measured in degrees from true north. Wrapped to [0, 360). */ - optional angle; + optional bearing; /** Pitch toward the horizon measured in degrees , with 0 deg resulting in a two-dimensional map. */ @@ -50,7 +50,7 @@ constexpr bool operator==(const CameraOptions& a, const CameraOptions& b) { && a.padding == b.padding && a.anchor == b.anchor && a.zoom == b.zoom - && a.angle == b.angle + && a.bearing == b.bearing && a.pitch == b.pitch; } -- cgit v1.2.1