aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorJacob Nevins <jacobn@chiark.greenend.org.uk>2005-05-31 12:03:25 +0000
committerJacob Nevins <jacobn@chiark.greenend.org.uk>2005-05-31 12:03:25 +0000
commita029c2095de3845d3b42f441fe04eaefdc9d52a5 (patch)
treec8cd9b589fe1ae4e8f98b79ef879ff97eac71279 /puzzles.h
parentcaee305b47bd93eda98ba40d98de7aa180a470c7 (diff)
downloadpuzzles-a029c2095de3845d3b42f441fe04eaefdc9d52a5.zip
puzzles-a029c2095de3845d3b42f441fe04eaefdc9d52a5.tar.gz
puzzles-a029c2095de3845d3b42f441fe04eaefdc9d52a5.tar.bz2
puzzles-a029c2095de3845d3b42f441fe04eaefdc9d52a5.tar.xz
Move definition of PI into puzzles.h. If nothing else, the definition in cube.c
had a typo :) [originally from svn r5878]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index de0f819..7b35896 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -12,6 +12,8 @@
#define FALSE 0
#endif
+#define PI 3.141592653589793238462643383279502884197169399
+
#define lenof(array) ( sizeof(array) / sizeof(*(array)) )
#define STR_INT(x) #x