Am 2012-11-05 14:44, schrieb James Turner: >> simgear/misc/parse_color.cxx | 4 ++++ >> simgear/misc/parse_color.hxx | 6 +----- >> 2 files changed, 5 insertions(+), 5 deletions(-) > > This is still not ideal: the goal is to have no #ifdefs, because we simply > partition the files based on requiring OSG. So if this header file needs OSG, > it should be in some other location than misc; probably some sensible > subdirectory of 'scene'.
At first I thought about putting it into scene/util but it didn't feel right because it's not really falling in the category rendering/scenegraph utilities. The only purpose is to parse a string containing a color (CSS syntax) into a 4d vector which may also be useful without doing any rendering. Are there any examples or usecases for using SimGear in headless mode? What do you think where to put it best? I currently need it only with SimGearScene/osg::Vec4 so I don't really mind if it is not available in Simgear headless. Tom -- Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org ------------------------------------------------------------------------ Student of Computer Science @ Graz University of Technology ------------------------------- Austria -------------------------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel