mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Removing warnings
This commit is contained in:
@@ -626,8 +626,7 @@ void GlobeBrowsingModule::goToGeodetic2(const globebrowsing::RenderableGlobe& gl
|
||||
}
|
||||
|
||||
void GlobeBrowsingModule::goToGeodetic3(const globebrowsing::RenderableGlobe& globe,
|
||||
globebrowsing::Geodetic3 geo3,
|
||||
bool doResetCameraDirection)
|
||||
globebrowsing::Geodetic3 geo3, bool)
|
||||
{
|
||||
using namespace globebrowsing;
|
||||
const glm::dvec3 positionModelSpace = globe.ellipsoid().cartesianPosition(geo3);
|
||||
|
||||
@@ -394,7 +394,8 @@ PixelRegion highestResPixelRegion(const GeodeticPatch& geodeticPatch,
|
||||
return region;
|
||||
}
|
||||
|
||||
RawTile::ReadError postProcessErrorCheck(const RawTile& rawTile, size_t nRasters,
|
||||
RawTile::ReadError postProcessErrorCheck(const RawTile& rawTile,
|
||||
[[ maybe_unused ]] size_t nRasters,
|
||||
float noDataValue)
|
||||
{
|
||||
// This check was implicit before and just made explicit here
|
||||
|
||||
@@ -199,8 +199,8 @@ ShadowComponent::ShadowComponent(const ghoul::Dictionary& dictionary)
|
||||
if (_shadowMapDictionary.hasKey(DepthMapSizeInfo.identifier)) {
|
||||
glm::vec2 depthMapSize =
|
||||
_shadowMapDictionary.value<glm::vec2>(DepthMapSizeInfo.identifier);
|
||||
_shadowDepthTextureWidth = depthMapSize.x;
|
||||
_shadowDepthTextureHeight = depthMapSize.y;
|
||||
_shadowDepthTextureWidth = static_cast<int>(depthMapSize.x);
|
||||
_shadowDepthTextureHeight = static_cast<int>(depthMapSize.y);
|
||||
_dynamicDepthTextureRes = false;
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -540,7 +540,7 @@ void TimeQuantizer::doFirstApproximation(DateTime& quantized, DateTime& unQ,
|
||||
static_cast<double>(_start.year());
|
||||
minIncrementsAdjust = minYearsToAdjust / value;
|
||||
quantized.setYear(
|
||||
_start.year() + static_cast<int>(minIncrementsAdjust) * value
|
||||
_start.year() + static_cast<int>(minIncrementsAdjust * value)
|
||||
);
|
||||
break;
|
||||
case 'M':
|
||||
|
||||
Reference in New Issue
Block a user