]> git.mxchange.org Git - flightgear.git/commit
Mathias Fröhlich:
authorcurt <curt>
Mon, 12 Dec 2005 21:15:20 +0000 (21:15 +0000)
committercurt <curt>
Mon, 12 Dec 2005 21:15:20 +0000 (21:15 +0000)
commitbbb8b066eb295ba782cf1486f9db2f1d71d53f3e
tree360ade044f25629d10bc5a641d750c40eb4f4685
parent90a149ffa36bc6517a43937558afc7bb7c01807a
Mathias Fröhlich:

Computes the pick direction and starting point.  This is code that translates
a screen coordinate into a vector in the FlightGear world (between the eye and
the on-screen coordinate.)  Armed with this vector in FG world coordinates,
you could call a scenery intersection routine and lookup the lon/lat/elev of
the point in the world that was clicked on.
src/Main/renderer.cxx
src/Main/renderer.hxx