The selectBuff what kind of data it enters accurately?

The selectBuff what kind of data it enters accurately?

Post by á?°ü? » Sat, 28 Jun 2003 15:51:28



When it sees the lower part routine, 4 things it ties and it reads, when it
will hang it sees, 4 branches being fastened together and it appears

   The selectBuff what kind of data it enters accurately?

////////////////////////////////////////////////////////////////////////////
///////////////
   glSelectBuffer(BUFFER_LENGTH_128, selectBuff);
    int nPickShapeNo = 0;

    if(hits >0 )

    {

        UINT minZ = selectBuff[1];

        int imin=0;

        for(int i=0;i<hits;i++)

        {

            if(minZ > selectBuff[i*4+1])

            {

                minZ = selectBuff[i*4+1];

                imin = i;

            }

        }

        nPickShapeNo = selectBuff[imin*4+3];

    }