]> granicus.if.org Git - graphviz/commitdiff
consolidate PI into M_PI
authorellson <devnull@localhost>
Mon, 3 Mar 2008 23:01:51 +0000 (23:01 +0000)
committerellson <devnull@localhost>
Mon, 3 Mar 2008 23:01:51 +0000 (23:01 +0000)
lib/fdpgen/dbg.c

index 4d4c599fd57640f36f82b52770eee4824b2b3b6d..a83076dec56ffd2903016c552ba88d185f19cbd7 100644 (file)
@@ -199,8 +199,7 @@ double ArrowScale = 1.0;
 
 #define         ARROW_LENGTH    10
 #define         ARROW_WIDTH      5
-/* #define DEGREES(rad)   ((rad)/PI * 180.0) */
-/* #define PI                      3.14159265 */
+/* #define DEGREES(rad)   ((rad)/M_PI * 180.0) */
 
 static char *plog = "%%!PS-Adobe-2.0\n\n\
 /Times-Roman findfont 14 scalefont setfont\n\