1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 05:53:50 +00:00

Fix light flicker amplitude calculation

This commit is contained in:
Andrei Kortunov 2018-08-28 13:41:44 +04:00
parent c677f7ca27
commit 0ddd0e4edc

View file

@ -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;
}