diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-10-17 13:38:11 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-10-19 12:05:16 +0200 |
commit | ea51b11dccdc117c7dc43ffd3b3d0f969f59799f (patch) | |
tree | b46c023ebe457cf0daebdd22abb42c1a4983c92f /src/mbgl/renderer/renderer_state.cpp | |
parent | b94be6e68f666410852aebd638782601162809d6 (diff) | |
download | qtlocation-mapboxgl-ea51b11dccdc117c7dc43ffd3b3d0f969f59799f.tar.gz |
[core] Introduce mbgl::RendererState
Diffstat (limited to 'src/mbgl/renderer/renderer_state.cpp')
-rw-r--r-- | src/mbgl/renderer/renderer_state.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mbgl/renderer/renderer_state.cpp b/src/mbgl/renderer/renderer_state.cpp new file mode 100644 index 0000000000..dc5c4c1292 --- /dev/null +++ b/src/mbgl/renderer/renderer_state.cpp @@ -0,0 +1,10 @@ +#include <mbgl/renderer/renderer_state.hpp> +#include <mbgl/renderer/update_parameters.hpp> + +namespace mbgl { + +CameraOptions RendererState::getCameraOptions(UpdateParameters& updateParameters, const EdgeInsets& padding) { + return updateParameters.transformState.getCameraOptions(padding); +} + +} // namespace mbgl |