FlightGear next
environment.cxx File Reference
#include <cmath>
#include <simgear/props/props.hxx>
#include <simgear/math/SGMath.hxx>
#include <Main/fg_props.hxx>
#include "environment.hxx"
#include "atmosphere.hxx"

Go to the source code of this file.

Functions

static bool maybe_copy_value (FGEnvironment *env, const SGPropertyNode *node, const char *name, void(FGEnvironment::*setter)(double))
 
static double do_interp (double a, double b, double fraction)
 
static double do_interp_deg (double a, double b, double fraction)
 

Function Documentation

◆ do_interp()

static double do_interp ( double a,
double b,
double fraction )
inlinestatic

Definition at line 872 of file environment.cxx.

◆ do_interp_deg()

static double do_interp_deg ( double a,
double b,
double fraction )
inlinestatic

Definition at line 879 of file environment.cxx.

◆ maybe_copy_value()

static bool maybe_copy_value ( FGEnvironment * env,
const SGPropertyNode * node,
const char * name,
void(FGEnvironment::* setter )(double) )
inlinestatic

Definition at line 196 of file environment.cxx.