]> git.mxchange.org Git - flightgear.git/commitdiff
A patch from Mathias to fix the startup at a tile boundry problem.
authorehofman <ehofman>
Thu, 26 May 2005 08:13:06 +0000 (08:13 +0000)
committerehofman <ehofman>
Thu, 26 May 2005 08:13:06 +0000 (08:13 +0000)
src/Scenery/hitlist.cxx

index 6d0182269f4628290376fc95d56f84807004c6b8..40f15c6ee2495d29535d7da0be6131f940ae0b58 100644 (file)
@@ -469,7 +469,7 @@ void FGHitList::IntersectBranch( ssgBranch *branch, sgdMat4 m,
                     if ( first_time ) {
                         sgdTransposeNegateMat4( m_leaf, m );
                         sgdXformPnt3( orig_leaf, orig, m_leaf );
-                        sgdXformPnt3( dir_leaf,  dir,  m_leaf );
+                        sgdXformVec3( dir_leaf,  dir,  m_leaf );
                         first_time = 0;
                     }
                     // GLenum primType = ((ssgLeaf *)kid)->getPrimitiveType();