Hi, On Monday, July 04, 2011 16:38:26 John Wojnaroski wrote: > HI, > > Have been digging into the source trying to better understand the > structure of the FG lighting system and constructs. > > Keep coming across this function "toOsg" as in > bb.expandBy(toOsg(_lights[i].position)); > or > fog->setColor(toOsg(fogColor)); > and > light->setDiffuse(toOsg(l->scene_diffuse())); > > Have tried "grepping" through OSG, flightgear, and simgear but unable to > find anything that defines it. > > Where can I find a definition and what is it's purpose?
That's just data type conversion from a simgear own datatype to something that is in the osg api. It is implemented in simgear/math/<datatype>.hxx Mathias ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel