diff src/graphics.cc @ 7440:4e3b073e910e

[project @ 2008-02-02 18:23:50 by jwe]
author jwe
date Sat, 02 Feb 2008 18:23:50 +0000
parents 464a55f1a5c2
children af92b34f3a3a
line wrap: on
line diff
--- a/src/graphics.cc	Sat Feb 02 07:56:53 2008 +0000
+++ b/src/graphics.cc	Sat Feb 02 18:23:50 2008 +0000
@@ -1901,7 +1901,7 @@
   normalize (f);
   normalize (UP);
 
-  if (abs (dot (f, UP)) > 1e-15)
+  if (std::abs (dot (f, UP)) > 1e-15)
     {
       double fa = 1/sqrt(1-f(2)*f(2));
       scale (UP, fa, fa, fa);