]> git.localhorst.tv Git - sdl-test8.git/blobdiff - src/geometry/constants.h
added collision engine, more or less stole gameplay from sdl-test7
[sdl-test8.git] / src / geometry / constants.h
diff --git a/src/geometry/constants.h b/src/geometry/constants.h
new file mode 100644 (file)
index 0000000..a33ea2a
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * constants.h
+ *
+ *  Created on: Apr 26, 2012
+ *      Author: holy
+ */
+
+#ifndef GEOMETRY_CONSTANTS_H_
+#define GEOMETRY_CONSTANTS_H_
+
+#include <cmath>
+
+
+namespace geometry {
+
+const double PI(std::atan(1.0) * 4.0);
+
+}
+
+
+#endif /* GEOMETRY_CONSTANTS_H_ */