mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-12 14:04:09 +00:00
Merge branch 'master' into ps2menu
This commit is contained in:
commit
860f75d66c
145 changed files with 15893 additions and 12764 deletions
|
@ -298,7 +298,7 @@ CTimeCycle::Update(void)
|
|||
m_CurrentStoredValue = (m_CurrentStoredValue+1)&0xF;
|
||||
|
||||
float sunAngle = 2*PI*(CClock::GetMinutes() + CClock::GetHours()*60)/(24*60);
|
||||
CVector &sunPos = GetSunPosition();
|
||||
CVector &sunPos = GetSunDirection();
|
||||
sunPos.x = Sin(sunAngle);
|
||||
sunPos.y = 1.0f;
|
||||
sunPos.z = 0.2f - Cos(sunAngle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue