| 141 | } // namespace rs |
| 142 | |
| 143 | void Subroute::AddStyle(SubrouteStyle const & style) |
| 144 | { |
| 145 | if (!m_style.empty() && m_style.back() == style) |
| 146 | m_style.back().m_endIndex = style.m_endIndex; |
| 147 | else |
| 148 | m_style.push_back(style); |
| 149 | } |
| 150 | |
| 151 | void RouteShape::PrepareGeometry(std::vector<m2::PointD> const & path, m2::PointD const & pivot, |
| 152 | std::vector<glsl::vec4> const & segmentsColors, float baseDepth, |
no test coverage detected