]> git.mxchange.org Git - simgear.git/blob - simgear/scene/model/persparam.cxx
Add preliminary spot light animation
[simgear.git] / simgear / scene / model / persparam.cxx
1 /**
2  * $Id$
3  */
4
5 #ifdef HAVE_CONFIG_H
6 #  include <simgear_config.h>
7 #endif
8
9 #include <simgear/props/props.hxx>
10 #include "persparam.hxx"
11
12 #include <simgear/math/SGMath.hxx>
13
14 template <> double
15 SGPersonalityParameter<double>::getNodeValue( const SGPropertyNode *props,
16                                               const char *name,
17                                               double defval ) const
18 {
19   return props->getDoubleValue( name, defval );
20 }