diff options
-rw-r--r-- | src/mbgl/map/transform.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mbgl/map/transform.cpp b/src/mbgl/map/transform.cpp index 41fc36ce27..bf511ed670 100644 --- a/src/mbgl/map/transform.cpp +++ b/src/mbgl/map/transform.cpp @@ -132,9 +132,6 @@ void Transform::easeTo(const CameraOptions& camera, const AnimationOptions& anim Duration duration = animation.duration ? *animation.duration : Duration::zero(); const double startWorldSize = state.worldSize(); - state.Bc = startWorldSize / util::DEGREES_MAX; - state.Cc = startWorldSize / util::M2PI; - const double startScale = state.scale; const double startAngle = state.angle; const double startPitch = state.pitch; @@ -292,8 +289,6 @@ void Transform::flyTo(const CameraOptions &camera, const AnimationOptions &anima } const double startWorldSize = state.worldSize(); - state.Bc = startWorldSize / util::DEGREES_MAX; - state.Cc = startWorldSize / util::M2PI; state.panning = true; state.scaling = true; |