Ignore:
Timestamp:
03/04/09 18:46:07 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtools/MagicJam.cc

    r9369 r9385  
    162162    for (i=0; i<fNcells-2; i++)
    163163    {
    164         if ((*fGeomCam)[i].DistanceToPrimitive(px, py)>0)
    165             continue;
    166 
    167         return i;
     164        if ((*fGeomCam)[i].IsInside(px, py))
     165            return i;
    168166    }
    169167    return -1;
Note: See TracChangeset for help on using the changeset viewer.