From a237a2d7723b94df6cd3e91401ec28388de6f1a0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 21 Oct 2007 23:02:47 +0000 Subject: namespace cleanup --- src/common/functions.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/common/functions.h') diff --git a/src/common/functions.h b/src/common/functions.h index 02f25da..62cf627 100644 --- a/src/common/functions.h +++ b/src/common/functions.h @@ -1,13 +1,18 @@ -/* functions.h - This file is part of the Osirion project +/* + common/functions.h + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 */ #ifndef __INCLUDED_FUNCTIONS_H__ #define __INCLUDED_FUNCTIONS_H__ +// C++ headers #include #include +namespace common { + /// return the smallest of two float values float min(float a, float b); @@ -38,5 +43,7 @@ float sgnf(float value); /// return an angle in the ]-180,180] range float degreesf(float angle); +} // namespace common + #endif // __INCLUDED_FUNCTIONS_H__ -- cgit v1.2.3