]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/hitlist.hxx
General cleanups to cut cross-dependencies and speed up compilation.
[flightgear.git] / src / Scenery / hitlist.hxx
index 709b23a205fb106b12b8d05f12aa986781561647..f76361653c3c3c16e8899f19237bebc316aa5548 100644 (file)
@@ -75,25 +75,6 @@ public:
 };
 
 
-inline void FGHitList::Intersect( ssgBranch *scene,
-                                 sgdVec3 orig, sgdVec3 dir )
-{
-    sgdMat4 m;
-
-    init();
-
-    if( last_hit() ) {
-       sgdMakeIdentMat4 ( m ) ;
-       IntersectCachedLeaf(m, orig, dir);
-    }
-    if( ! num_hits() ) {
-       clear();
-       sgdMakeIdentMat4 ( m ) ;
-       IntersectBranch( scene, m, orig, dir);
-    }
-}
-
-
 // Associated function, assuming a wgs84 world with 0,0,0 at the
 // center, find the current terrain intersection elevation for the
 // point specified.