Changeset 9381
- Timestamp:
- 03/03/09 13:33:30 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgeom/MGeomCamSquare.cc
r9380 r9381 94 94 SetAt(idx, MGeomRectangle((0.5*nx-x)*diameter, (0.5*ny-y)*diameter, diameter)); 95 95 96 const Short_t n0 = x==nx-1 ? -1 .: idx+ny;97 const Short_t n1 = x==0 ? -1 .: idx-ny;98 const Short_t n2 = y==ny-1 ? -1 .: idx+1;99 const Short_t n3 = y==0 ? -1 .: idx-1;96 const Short_t n0 = x==nx-1 ? -1 : idx+ny; 97 const Short_t n1 = x==0 ? -1 : idx-ny; 98 const Short_t n2 = y==ny-1 ? -1 : idx+1; 99 const Short_t n3 = y==0 ? -1 : idx-1; 100 100 101 101 Short_t n[4] = { n0, n1, n2, n3 };
Note:
See TracChangeset
for help on using the changeset viewer.