Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2007-10-21 23:02:47 +0000
committerStijn Buys <ingar@osirion.org>2007-10-21 23:02:47 +0000
commita237a2d7723b94df6cd3e91401ec28388de6f1a0 (patch)
tree7da376d276d03fced7b94a807c0952fd32bcde08 /src/common/functions.cc
parent084c6212afaa6f996091f36d0ff85ac845803a87 (diff)
namespace cleanup
Diffstat (limited to 'src/common/functions.cc')
-rw-r--r--src/common/functions.cc13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/common/functions.cc b/src/common/functions.cc
index 7152c91..7a01628 100644
--- a/src/common/functions.cc
+++ b/src/common/functions.cc
@@ -1,9 +1,14 @@
-/* functions.cc
- * This file is part of the Osirion project
- */
+/*
+ common/functions.cc
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
+*/
+// project headers
#include "functions.h"
+namespace common {
+
float min(float a, float b) {
return (a < b ? a : b);
}
@@ -46,3 +51,5 @@ float sgnf(float value)
return 1;
}
+
+} // namespace common