* James Sleeman -- Saturday 24 January 2009:
> Is there a property one can read which gives the distance to the 
> camera/observer specifically in the external views,

 var aircraft = geo.aircraft_position();
 var viewer = geo.viewer_position();

 var distance = viewer.direct_distance_to(aircraft);

m.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to