]> git.mxchange.org Git - flightgear.git/commit
Rewrite the spatial index to use a sparse octree on the cartesian coordinates of...
authorJames Turner <zakalawe@mac.com>
Thu, 17 Dec 2009 12:36:51 +0000 (12:36 +0000)
committerTim Moore <timoore@redhat.com>
Sat, 19 Dec 2009 22:13:17 +0000 (23:13 +0100)
commit34bbc6d974423aac314f4576b3a8a015b045e4ff
treea0391c46a7a0b11b28d5671a6fa682491e981e9c
parent35cb89626e75d2bf5b80cf746b11bb83b3deeb52
Rewrite the spatial index to use a sparse octree on the cartesian coordinates of items.

* Fixes errors selecting 'nearest' items, including duplicates
* Stable behaviour around the poles and dateline
* Decently efficient, even for 'everything within 500nm' queries
src/Instrumentation/testgps.cxx
src/Navaids/positioned.cxx