diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-06-16 13:41:07 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-11-30 16:08:37 +0300 |
commit | e4c55c17ddc2bebde9b60d622e836faba449869d (patch) | |
tree | 5888b9607571dc37cdd7862490ae8f8ce9c80b97 /drape_head | |
parent | 4e6ff00f5f9c6701282572ff28ddbe210e1db324 (diff) |
Added end of route rendering
Diffstat (limited to 'drape_head')
-rw-r--r-- | drape_head/testing_engine.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drape_head/testing_engine.cpp b/drape_head/testing_engine.cpp index e6303b5632..7b3905b014 100644 --- a/drape_head/testing_engine.cpp +++ b/drape_head/testing_engine.cpp @@ -514,23 +514,6 @@ void TestingEngine::DrawImpl() } { - vector<m2::PointD> path1; - path1.push_back(m2::PointD(80.277071f, 37.9271164f)); - path1.push_back(m2::PointD(80.277071f, 35.9271164f)); - path1.push_back(m2::PointD(86.277071f, 35.9271164f)); - path1.push_back(m2::PointD(86.277071f, 30.9271164f)); - path1.push_back(m2::PointD(88.277071f, 32.9271164f)); - path1.push_back(m2::PointD(89.277071f, 39.9271164f)); - m2::PolylineD pln(path1); - - CommonViewParams rvp; - rvp.m_depth = 95.0f; - RouteShape shape(pln, rvp); - shape.PrepareGeometry(); - shape.Draw(make_ref(m_batcher), make_ref(m_textures)); - } - - { vector<m2::PointF> trg{ m2::PointD(110.0f, 30.0f), m2::PointD(112.0f, 30.0f), m2::PointD(112.0f, 28.0f), m2::PointD(110.0f, 30.0f), m2::PointD(112.0f, 28.0f), m2::PointD(110.0f, 28.0f) }; AreaViewParams p; |