A patch from Mathias to fix the startup at a tile boundry problem.
This commit is contained in:
parent
61b5efb772
commit
b71b3af66c
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ void FGHitList::IntersectBranch( ssgBranch *branch, sgdMat4 m,
|
||||||
if ( first_time ) {
|
if ( first_time ) {
|
||||||
sgdTransposeNegateMat4( m_leaf, m );
|
sgdTransposeNegateMat4( m_leaf, m );
|
||||||
sgdXformPnt3( orig_leaf, orig, m_leaf );
|
sgdXformPnt3( orig_leaf, orig, m_leaf );
|
||||||
sgdXformPnt3( dir_leaf, dir, m_leaf );
|
sgdXformVec3( dir_leaf, dir, m_leaf );
|
||||||
first_time = 0;
|
first_time = 0;
|
||||||
}
|
}
|
||||||
// GLenum primType = ((ssgLeaf *)kid)->getPrimitiveType();
|
// GLenum primType = ((ssgLeaf *)kid)->getPrimitiveType();
|
||||||
|
|
Loading…
Add table
Reference in a new issue