On Fri, 2002-03-15 at 08:47, Norman Vine wrote:
> Jon S Berndt 
> 
> >On Fri, 15 Mar 2002 10:00:28 -0500
> >  David Megginson <[EMAIL PROTECTED]> wrote:
> >
> >>That's good news -- I'd like to encourge the FDM writers to query
> >>separately for each gear now, at least for the wheels and skids (crash
> >>points aren't as serious).
> >
> >So, when querying, would we supply the lat/lon/radius of 
> >each bogey of interest, then get the height above ground?
> 
> Easier, well at least faster, then that
> 
> The fgCurrentElev() routine takes
> sgdVec3 abs_view_pos as its first argument
> 
> which normally is
> globals->get_current_view()->get_abs_view_pos()
> 
> which I believe is still the AP CG
> so I believe that you could just add the offset for each query point to 
> the abs_view_pos vector

So then, we'd need to convert from our body coordinates to FG's global
cartesian?

> 
> see tilemgr::update() for whee this is called currently
> 
> HTH
> 
> Norman
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 
-- 
Tony Peden
[EMAIL PROTECTED]
We all know Linux is great ... it does infinite loops in 5 seconds. 
-- attributed to Linus Torvalds

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to