Skip to content

Commit

Permalink
lighting: Remove a auto
Browse files Browse the repository at this point in the history
  • Loading branch information
vlj committed Dec 31, 2023
1 parent 67855ae commit 9414b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ivis_opengl/pielighting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ LightingData& getCurrentLightingData()
}

namespace {
auto getLightBoundingBox(const LIGHT& light)
BoundingBox getLightBoundingBox(const LIGHT& light)
{
glm::vec3 center = light.position;
center.z *= -1.;

Check warning on line 72 in lib/ivis_opengl/pielighting.cpp

View workflow job for this annotation

GitHub Actions / Fedora :LATEST [GCC]

conversion from 'double' to 'float' may change value [-Wfloat-conversion]

Check warning on line 72 in lib/ivis_opengl/pielighting.cpp

View workflow job for this annotation

GitHub Actions / Fedora :LATEST [GCC -m32]

conversion from 'double' to 'float' may change value [-Wfloat-conversion]
Expand Down

0 comments on commit 9414b4a

Please sign in to comment.