Changeset 7749 for trunk/MagicSoft/Mars/mgui
- Timestamp:
- 05/29/06 15:58:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MHexagon.cc
r3514 r7749 284 284 const Int_t np = 6; 285 285 286 const Float_t dx[np+1] = { .5 , 0. , -.5 , -.5 , 0. , .5 , .5 };287 const Float_t dy[np+1] = { .2886, .5772, .2886, -.2886, -.5772, -.2886, .2886 };286 const Double_t dx[np+1] = { .5 , 0. , -.5 , -.5 , 0. , .5 , .5 }; 287 const Double_t dy[np+1] = { .2886, .5772, .2886, -.2886, -.5772, -.2886, .2886 }; 288 288 289 289 // 290 290 // calculate the positions of the pixel corners 291 291 // 292 Float_t x[np+1], y[np+1];292 Double_t x[np+1], y[np+1]; 293 293 for (Int_t i=0; i<np+1; i++) 294 294 {
Note:
See TracChangeset
for help on using the changeset viewer.