]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/renderer.hxx
Mathias Fröhlich:
[flightgear.git] / src / Main / renderer.hxx
index ed9fe6df2640fa8982264b19d551ea068e6c6f4f..de33b114a60bd342223d75a720dc2683403684c7 100644 (file)
@@ -44,6 +44,12 @@ public:
      *  clip planes rather than calling the ssg routine directly
      */
     static void setNearFar( float n, float f );
+
+    /** Get the pick start point and direction in global coordinates.
+     *  The inputs are expected to be the x and y coordinates of the
+     *  screen point relative to the window.
+     */
+    static bool getPickInfo( sgdVec3 p, sgdVec3 d, unsigned x, unsigned y );
 };
 
 #endif