Index: trunk/FACT++/gui/BasicGlCamera.cc
===================================================================
--- trunk/FACT++/gui/BasicGlCamera.cc	(revision 18983)
+++ trunk/FACT++/gui/BasicGlCamera.cc	(revision 18984)
@@ -31,11 +31,13 @@
 int BasicGlCamera::softwareMapping[NPIX];
 
+static const float _coord = 1/sqrt(3.);
+
 //Coordinates of an hexagon of radius 1 and center 0
-GLfloat hexcoords[6][2] = {{-1./sqrt(3.),  1},
-                           { 1./sqrt(3.),  1},
-                           { 2./sqrt(3.),  0},
-                           { 1./sqrt(3.), -1},
-                           {-1./sqrt(3.), -1},
-                           {-2./sqrt(3.),  0}};
+GLfloat hexcoords[6][2] = {{-1*_coord,  1},
+                           { 1*_coord,  1},
+                           { 2*_coord,  0},
+                           { 1*_coord, -1},
+                           {-1*_coord, -1},
+                           {-2*_coord,  0}};
 
 
