1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-08 15:19:50 +00:00

Re-enable double->float cast warning and fix all instances where this fired

This commit is contained in:
fgenesis 2017-01-19 23:31:56 +01:00
parent 0e6dccbb4e
commit 7a60f493a5
50 changed files with 680 additions and 682 deletions

View file

@ -29,7 +29,7 @@ PostProcessingFX::PostProcessingFX()
{
blendType = 0;
layer = renderLayer = 0;
intensity = 0.1;
intensity = 0.1f;
blurTimes = 12;
radialBlurColor = Vector(1,1,1);
for (int i = 0; i < FXT_MAX; i++)
@ -120,7 +120,7 @@ void PostProcessingFX::render()
float percentX = pw, percentY = ph;
float inc = 0.01;
float inc = 0.01f;
float spost = 0.0f; // Starting Texture Coordinate Offset
float alphadec = alpha / blurTimes;