Changeset 9324 for trunk/MagicSoft
- Timestamp:
- 02/11/09 19:13:31 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9322 r9324 176 176 msimreflector/MMirrorDisk.cc: 177 177 - changed the grey colors 178 179 * msimreflector/MMirrorHex.cc: 180 - fixed bugs in CanHit and HasHit 178 181 179 182 -
trunk/MagicSoft/Mars/msimreflector/MMirrorHex.cc
r9322 r9324 69 69 // without time consuming calculations. 70 70 71 return TMath::Hypot(p.X()-X(), p.Y()- X())<1.05*fMaxR;71 return TMath::Hypot(p.X()-X(), p.Y()-Y())<1.05*fMaxR; 72 72 } 73 73 … … 98 98 // more, rotated with respect to that one by +- 60 degrees. 99 99 // 100 if (TMath::Abs( X())>fD/*/2*/)100 if (TMath::Abs(p.X())>fD) 101 101 return kFALSE; 102 102 … … 104 104 const Double_t dys = p.Y()*fgSin60; 105 105 106 if (TMath::Abs(dxc+dys)>fD/*/2*/)106 if (TMath::Abs(dxc+dys)>fD) 107 107 return kFALSE; 108 108 109 if (TMath::Abs(dxc-dys)>fD /*/2*/)109 if (TMath::Abs(dxc-dys)>fD) 110 110 return kFALSE; 111 111
Note:
See TracChangeset
for help on using the changeset viewer.