mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-05 10:59:47 -05:00
Enable warnings for missing case labels and subsequent cleanup. Updated ghoul, sgct, and codegen repository for same
This commit is contained in:
@@ -106,10 +106,10 @@ Geodetic2 GeodeticPatch::size() const {
|
||||
|
||||
Geodetic2 GeodeticPatch::corner(Quad q) const {
|
||||
switch (q) {
|
||||
case NORTH_WEST: return Geodetic2{ maxLat(), minLon() };// northWestCorner();
|
||||
case NORTH_EAST: return Geodetic2{ maxLat(), maxLon() };// northEastCorner();
|
||||
case SOUTH_WEST: return Geodetic2{ minLat(), minLon() };// southWestCorner();
|
||||
case SOUTH_EAST: return Geodetic2{ minLat(), maxLon() };// southEastCorner();
|
||||
case NORTH_WEST: return Geodetic2{ maxLat(), minLon() }; // northWestCorner();
|
||||
case NORTH_EAST: return Geodetic2{ maxLat(), maxLon() }; // northEastCorner();
|
||||
case SOUTH_WEST: return Geodetic2{ minLat(), minLon() }; // southWestCorner();
|
||||
case SOUTH_EAST: return Geodetic2{ minLat(), maxLon() }; // southEastCorner();
|
||||
default: throw ghoul::MissingCaseException();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user