]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/colors.hxx
Add a new node "float-property" to be used in float comparision in effect predicates
[simgear.git] / simgear / screen / colors.hxx
index aa0d414555f390235ddffcec8c6c6a893c502666..c3ea8e7e27e3a9f62e079470a3ea68b9650cbab6 100644 (file)
@@ -16,7 +16,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
 
 #include <math.h>
 
-#if defined( macintosh )
-const float system_gamma = 1.4;
-
-#elif defined (sgi)
-const float system_gamma = 1.7;
+#if defined (sgi)
+const float system_gamma = 2.0/1.7;
 
 #else  // others
 const float system_gamma = 2.5;