1 // model.cxx - manage a 3D aircraft model.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain, and comes with no warranty.
10 #include <simgear/compiler.h>
14 #include <simgear/props/props.hxx>
15 #include <simgear/scene/model/model.hxx>
17 #include "panelnode.hxx"
19 #include "model_panel.hxx"
24 ssgEntity *load_panel(SGPropertyNode *n)
26 return new FGPanelNode(n);
29 ////////////////////////////////////////////////////////////////////////
31 ////////////////////////////////////////////////////////////////////////
34 fgLoad3DModelPanel( const string &fg_root, const string &path,
35 SGPropertyNode *prop_root,
38 return sgLoad3DModel( fg_root, path, prop_root, sim_time_sec, load_panel );
42 // end of model_panel.cxx