MCPcopy Create free account
hub / github.com/comaps/comaps / CorrectGlobalScalePoint

Method CorrectGlobalScalePoint

libs/drape_frontend/my_position_controller.cpp:353–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353void MyPositionController::CorrectGlobalScalePoint(m2::PointD & pt) const
354{
355 if (IsModeChangeViewport())
356 pt = m_position;
357}
358
359void MyPositionController::SetRenderShape(ref_ptr<dp::GraphicsContext> context, ref_ptr<dp::TextureManager> texMng,
360 drape_ptr<MyPosition> && shape, Arrow3d::PreloadedData && preloadedData)

Callers

nothing calls this directly

Calls 1

IsModeChangeViewportFunction · 0.85

Tested by

no test coverage detected