Esempio n. 1
0
void LightManager::FastForwardTime(TimerTypes eTimer,  float secFF )
{
	if(eTimer == TIMER_ALL || eTimer == TIMER_SUN)
		m_sunTimer.Fastforward(secFF);

	if(eTimer == TIMER_ALL || eTimer == TIMER_LIGHTS)
	{
		std::for_each(m_lightTimers.begin(), m_lightTimers.end(), FFTimer(secFF));
		std::for_each(m_extraTimers.begin(), m_extraTimers.end(), FFTimer(secFF));
	}
}
Esempio n. 2
0
void LightEnv::FastForwardTime( float secFF )
{
	m_sunTimer.Fastforward(secFF);
	std::for_each(m_lightTimers.begin(), m_lightTimers.end(), FFTimer(secFF));
}