]> git.mxchange.org Git - flightgear.git/commit
- make FGAirport::search() more versatile, so that it can't only search
authormfranz <mfranz>
Fri, 5 Oct 2007 21:54:52 +0000 (21:54 +0000)
committermfranz <mfranz>
Fri, 5 Oct 2007 21:54:52 +0000 (21:54 +0000)
commit15139a42b6a064e66bff74958893dd748769d68c
tree6ce809b8fcc326b2671131334ce5d1ce70718680
parent516ef6bc4beb1f716de86e4df526773004bea95d
- make FGAirport::search() more versatile, so that it can't only search
  the next airport or airport with METAR station, but about any type of
  airport
- as a side effect this change makes it also 30 to 50% faster  :-)

In the long run this linear search shall be replaced with a spatial
algorithm (like octree), which will be a much bigger performance gain.
src/Airports/simple.cxx
src/Airports/simple.hxx
src/Environment/environment_ctrl.cxx
src/Instrumentation/gps.cxx
src/Scripting/NasalSys.cxx