]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATC.hxx
Moved some of the low level scene graph construction code over to simgear.
[flightgear.git] / src / ATC / ATC.hxx
index cc952f4be1ab62f2144a6b56fca223cc1093abf7..38750898ace9fb214b35286b284968b181de0461 100644 (file)
@@ -83,6 +83,18 @@ struct ATCData {
        string name;
 };
 
+// perhaps we could use an FGRunway instead of this.
+// That wouldn't cache the orthopos though.
+struct RunwayDetails {
+       Point3D threshold_pos;
+       Point3D end1ortho;      // ortho projection end1 (the threshold ATM)
+       Point3D end2ortho;      // ortho projection end2 (the take off end in the current hardwired scheme)
+       double hdg;             // true runway heading
+       double length;  // In *METERS*
+       double width;   // ditto
+       string rwyID;
+};
+
 ostream& operator << (ostream& os, atc_type atc);
 
 class FGATC {