mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
Restore previous night time directional light path
This commit is contained in:
parent
9b92943d1a
commit
b1a5a72665
1 changed files with 1 additions and 1 deletions
|
@ -739,7 +739,7 @@ void WeatherManager::update(float duration, bool paused, const TimeStamp& time,
|
|||
}
|
||||
else
|
||||
{
|
||||
theta = static_cast<float>(osg::PI) + static_cast<float>(osg::PI) * (adjustedHour - adjustedNightStart) / nightDuration;
|
||||
theta = static_cast<float>(osg::PI) - static_cast<float>(osg::PI) * (adjustedHour - adjustedNightStart) / nightDuration;
|
||||
}
|
||||
|
||||
osg::Vec3f final(
|
||||
|
|
Loading…
Reference in a new issue