FlightGear next
precipitation_mgr.cxx File Reference

Precipitation manager This manager calculate the intensity of precipitation in function of the altitude, calculate the wind direction and velocity, then update the drawing of precipitation. More...

#include <osg/MatrixTransform>
#include <simgear/constants.h>
#include <simgear/scene/sky/sky.hxx>
#include <simgear/scene/sky/cloud.hxx>
#include <simgear/scene/util/OsgMath.hxx>
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include <Viewer/renderer.hxx>
#include <Scenery/scenery.hxx>
#include "precipitation_mgr.hxx"

Go to the source code of this file.

Functions

SGSubsystemMgr::Registrant< FGPrecipitationMgrregistrantFGPrecipitationMgr (SGSubsystemMgr::GENERAL, {{"FGScenery", SGSubsystemMgr::Dependency::HARD}, {"SGSky", SGSubsystemMgr::Dependency::NONSUBSYSTEM_HARD}})
 

Detailed Description

Precipitation manager This manager calculate the intensity of precipitation in function of the altitude, calculate the wind direction and velocity, then update the drawing of precipitation.

Author
Nicolas VIVIEN
Date
2008-02-10
Note
Copyright (C) 2008 Nicolas VIVIEN
Licences
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Definition in file precipitation_mgr.cxx.

Function Documentation

◆ registrantFGPrecipitationMgr()

SGSubsystemMgr::Registrant< FGPrecipitationMgr > registrantFGPrecipitationMgr ( SGSubsystemMgr::GENERAL ,
{{"FGScenery", SGSubsystemMgr::Dependency::HARD}, {"SGSky", SGSubsystemMgr::Dependency::NONSUBSYSTEM_HARD}}  )