| 31 | } |
| 32 | |
| 33 | Cartographic GeographicProjection::unproject( |
| 34 | const glm::dvec2& projectedCoordinates) const noexcept { |
| 35 | const double oneOverEarthSemimajorAxis = this->_oneOverSemimajorAxis; |
| 36 | |
| 37 | return Cartographic( |
| 38 | projectedCoordinates.x * oneOverEarthSemimajorAxis, |
| 39 | projectedCoordinates.y * oneOverEarthSemimajorAxis, |
| 40 | 0.0); |
| 41 | } |
| 42 | |
| 43 | Cartographic GeographicProjection::unproject( |
| 44 | const glm::dvec3& projectedCoordinates) const noexcept { |
no test coverage detected