Update particles API again
Rename methods to make it clear they do additional work
This commit is contained in:
parent
0cc465d39f
commit
ba8b25db5f
1 changed files with 1 additions and 2 deletions
|
@ -269,8 +269,7 @@ FGEnvironmentMgr::update (double dt)
|
|||
auto particlesManager = simgear::ParticlesGlobalManager::instance();
|
||||
particlesManager->setWindFrom(_environment->get_wind_from_heading_deg(),
|
||||
_environment->get_wind_speed_kt());
|
||||
particlesManager->setSimTime(dt);
|
||||
particlesManager->setCurrentPosition(globals->get_aircraft_position());
|
||||
particlesManager->update(dt, globals->get_aircraft_position());
|
||||
|
||||
if( _cloudLayersDirty ) {
|
||||
_cloudLayersDirty = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue