21 lines
451 B
C++
21 lines
451 B
C++
/**
|
|
* $Id$
|
|
*/
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
# include <simgear_config.h>
|
|
#endif
|
|
|
|
#include <simgear/props/props.hxx>
|
|
#include "persparam.hxx"
|
|
|
|
#include <simgear/math/SGMath.hxx>
|
|
|
|
template <> double
|
|
SGPersonalityParameter<double>::getNodeValue( const SGPropertyNode *props,
|
|
const char *name,
|
|
double defval ) const
|
|
{
|
|
return props->getDoubleValue( name, defval );
|
|
}
|