diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2015-12-24 00:45:13 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2015-12-29 16:42:43 +0300 |
commit | e4e422f88d8a28ed61070b9afb1f155d914bf2df (patch) | |
tree | 31f0b18858a97f3aaa341dc0767341f43d40990a /geometry | |
parent | 7834c7ab7717b520164ae5d5e5d974c2fe9a5335 (diff) |
Poi selection fixed
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/screenbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/screenbase.cpp b/geometry/screenbase.cpp index f1eb81e4ad..c00f882b86 100644 --- a/geometry/screenbase.cpp +++ b/geometry/screenbase.cpp @@ -366,7 +366,7 @@ m2::PointD ScreenBase::PtoP3d(m2::PointD const & pt, double ptZ) const Vector3dT const normalizedPoint{float(2.0 * pt.x / m_PixelRect.SizeX() - 1.0), -float(2.0 * pt.y / m_PixelRect.SizeY() - 1.0), - float(2.0 * ptZ / m_PixelRect.SizeX()), 1.0}; + float(2.0 * ptZ / m_PixelRect.SizeY()), 1.0}; Vector3dT const perspectivePoint = normalizedPoint * m_Pto3d; |