Skip to content
Snippets Groups Projects
Commit 973202b9 authored by Pascal Engeler's avatar Pascal Engeler
Browse files

type cleanliness

parent 6bc4e430
No related branches found
No related tags found
No related merge requests found
...@@ -202,7 +202,7 @@ float Heightmap::getSurfaceHeight(unsigned x, unsigned y, glm::mat4 projection, ...@@ -202,7 +202,7 @@ float Heightmap::getSurfaceHeight(unsigned x, unsigned y, glm::mat4 projection,
_framebuffer_ptr->unbind(); _framebuffer_ptr->unbind();
if (defo_um != -1.) { if (defo_um != -1.f) {
return defo_um * _zRangeUm; return defo_um * _zRangeUm;
} }
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment