mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 14:07:35 +00:00
compile fix
This commit is contained in:
parent
5d4d35a02c
commit
d1d21c8a0e
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ void Objects::update(const float dt)
|
||||||
|
|
||||||
// Light animation (pulse & flicker)
|
// Light animation (pulse & flicker)
|
||||||
it->time += dt;
|
it->time += dt;
|
||||||
const float phase = std::fmod(it->time, (32 * 2 * M_PI)) * 20;
|
const float phase = std::fmod(static_cast<double> (it->time), (32 * 2 * M_PI)) * 20;
|
||||||
float pulseConstant;
|
float pulseConstant;
|
||||||
|
|
||||||
// These formulas are just guesswork, but they work pretty well
|
// These formulas are just guesswork, but they work pretty well
|
||||||
|
|
Loading…
Reference in a new issue