| 111 | } |
| 112 | |
| 113 | glsl::vec2 GetUV(m2::RectF const & texRect, float normU, float normV) |
| 114 | { |
| 115 | return glsl::vec2(texRect.minX() * (1.0f - normU) + texRect.maxX() * normU, |
| 116 | texRect.minY() * (1.0f - normV) + texRect.maxY() * normV); |
| 117 | } |
| 118 | |
| 119 | glsl::vec2 GetUV(m2::RectF const & texRect, glsl::vec2 const & uv) |
| 120 | { |
no test coverage detected