Curtis L. Olson writes:
>>
>Again to summarize, we value your participation, and normally you
>produce very robust code, but in this case since we never know when
>you are lurking or not, it's difficult to accept broken code with no
>promise of a fix ...

Hey thanks for the lecture and I'll leave the 
"PLEASE JUST TRY San Francisco Bay" story for another day
when we NEED to swap stories about other peoples code being 
bottomless timesinks  :-)

>It would be nice to have this code working robustly and integrated.

FWIW
It looks like I made a dumb typo when I added all the special cases :-(

inside of 
void FGHitList::IntersectBranch( ssgBranch *branch, sgdMat4 m, 
                                         sgdVec3 orig, sgdVec3 dir )

try this 

switch ( primType ) {
        case GL_POLYGON :
        case GL_TRIANGLE_FAN :
                IntersectPolyOrFanLeaf( (ssgLeaf *)kid, m, orig_leaf, dir_leaf );
                break;
        case GL_TRIANGLES :
                IntersectTriLeaf( (ssgLeaf *)kid, m, orig_leaf, dir_leaf );
                break;
        case GL_TRIANGLE_STRIP :
        case GL_QUAD_STRIP :
                IntersectStripLeaf( (ssgLeaf *)kid, m, orig_leaf, dir_leaf );
                break;
        case GL_QUADS :
                IntersectQuadsLeaf( (ssgLeaf *)kid, m, orig_leaf, dir_leaf );
                break;
        default:
                IntersectLeaf( (ssgLeaf *)kid, m, orig_leaf, dir_leaf );
}

Enjoy !

Norman

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to