Fix light flicker amplitude calculation

pull/541/head
Andrei Kortunov 6 years ago
parent c677f7ca27
commit 0ddd0e4edc

@ -26,7 +26,7 @@ namespace
float v = 0.0f;
for(int i = 0;i < 3;++i)
v += std::sin(fb*time*f[i] + o[1])*m[i];
v += std::sin(fb*time*f[i] + o[i])*m[i];
return v * s;
}

Loading…
Cancel
Save