Can you direct me to where i can find HitList::fgCurrentElevation()? i have run grep on simgear and flightgear plus searched in google and I still cant find mention of this function.
Seamus On Thu, 6 Nov 2003, Norman Vine wrote: > Seamus Thomas Carroll writes: > > > > Is it possible to determine if a vehicle is in the viewing area of the > > plane using the lon, lat of the vehicle? > > No > > FWIW > Using a Lat Lon representation of your position is horribly inefficient > > So I recommend doing all your motion relative to a local plane > then use a slightly modified HitList::fgCurrentElevation() to determine > your actual contact point > > It's not really not that tough but there are a few wrinkles that you > must internalize < i.e. current tile center based world > > > Note that the hitlist structure saves a pointer to the actual PLib > Collection intersected and the index of the 'hit' triangle from which > you can determine your new position. > > Cheers > > Norman > > > > _______________________________________________ > Flightgear-devel mailing list > [EMAIL PROTECTED] > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel