[msvc] Fix warnings, mainly casting to smaller types (#270)
If the checks by GitHub Actions checks are met, then it seems good to go. Thanks for supporting FOSS4G!
This commit is contained in:
@@ -86,7 +86,7 @@ void RenderCustomLayer::render(PaintParameters& paintParameters) {
|
||||
parameters.latitude = state.getLatLng().latitude();
|
||||
parameters.longitude = state.getLatLng().longitude();
|
||||
parameters.zoom = state.getZoom();
|
||||
parameters.bearing = -state.getBearing() * util::RAD2DEG;
|
||||
parameters.bearing = -state.getBearing() * util::RAD2DEG_D;
|
||||
parameters.pitch = state.getPitch();
|
||||
parameters.fieldOfView = state.getFieldOfView();
|
||||
mat4 projMatrix;
|
||||
|
||||
Reference in New Issue
Block a user