diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-06-21 18:11:55 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-06-21 21:31:11 +0700 |
commit | 325dca9f212f9fd44cd10a8180529970c7a08c72 (patch) | |
tree | e1cfaec078dfa49f4d51d05eef8a5b0967843a41 /src/Fog.cpp | |
parent | 10f5376de856ecead4e8bbf66f19157f36f7a382 (diff) | |
download | blackshades-1.2.0.tar.gz |
Remove trailing whitespaces and duplicated blank lines 1.2.0
Diffstat (limited to 'src/Fog.cpp')
-rw-r--r-- | src/Fog.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Fog.cpp b/src/Fog.cpp index 21ca229..82f1d88 100644 --- a/src/Fog.cpp +++ b/src/Fog.cpp @@ -18,7 +18,7 @@ void Fog::SetFog(float colorR, float colorG, float colorB, float fStart, float f glFogi(GL_FOG_HINT,GL_DONT_CARE); glFogi(GL_FOG_START,fogStart); glFogi(GL_FOG_END,fogEnd); - + glEnable(GL_FOG); } @@ -36,7 +36,7 @@ void Fog::TempFog(float colorR, float colorG, float colorB) glFogi(GL_FOG_HINT,GL_DONT_CARE); glFogi(GL_FOG_START,fogStart); glFogi(GL_FOG_END,fogEnd); - + glEnable(GL_FOG); } @@ -48,7 +48,6 @@ void Fog::ResetFog() glFogi(GL_FOG_HINT,GL_DONT_CARE); glFogi(GL_FOG_START,fogStart); glFogi(GL_FOG_END,fogEnd); - + glEnable(GL_FOG); } - |