Changeset 18984 for trunk/FACT++/gui
- Timestamp:
- 04/06/18 16:46:40 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/BasicGlCamera.cc
r18949 r18984 31 31 int BasicGlCamera::softwareMapping[NPIX]; 32 32 33 static const float _coord = 1/sqrt(3.); 34 33 35 //Coordinates of an hexagon of radius 1 and center 0 34 GLfloat hexcoords[6][2] = {{-1 ./sqrt(3.), 1},35 { 1 ./sqrt(3.), 1},36 { 2 ./sqrt(3.), 0},37 { 1 ./sqrt(3.), -1},38 {-1 ./sqrt(3.), -1},39 {-2 ./sqrt(3.), 0}};36 GLfloat hexcoords[6][2] = {{-1*_coord, 1}, 37 { 1*_coord, 1}, 38 { 2*_coord, 0}, 39 { 1*_coord, -1}, 40 {-1*_coord, -1}, 41 {-2*_coord, 0}}; 40 42 41 43
Note:
See TracChangeset
for help on using the changeset viewer.