]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/math/pi.h
my own uncrustify run
[xonotic/netradiant.git] / libs / math / pi.h
index 9cc74c1bd3fee4e377863fa246ac327e96da3b63..dde3f48b2ca0d8dfaa0794b985601b98cb3e1719 100644 (file)
@@ -1,25 +1,25 @@
 /*
-Copyright (C) 2001-2006, William Joseph.
-All Rights Reserved.
+   Copyright (C) 2001-2006, William Joseph.
+   All Rights Reserved.
 
-This file is part of GtkRadiant.
+   This file is part of GtkRadiant.
 
-GtkRadiant is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
+   GtkRadiant is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
 
-GtkRadiant is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
+   GtkRadiant is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
 
-You should have received a copy of the GNU General Public License
-along with GtkRadiant; if not, write to the Free Software
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-*/
+   You should have received a copy of the GNU General Public License
+   along with GtkRadiant; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ */
 
-#if !defined(INCLUDED_MATH_PI_H)
+#if !defined( INCLUDED_MATH_PI_H )
 #define INCLUDED_MATH_PI_H
 
 /// \file
@@ -33,13 +33,11 @@ const double c_inv_2pi = 1 / c_2pi;
 const double c_DEG2RADMULT = c_pi / 180.0;
 const double c_RAD2DEGMULT = 180.0 / c_pi;
 
-inline double radians_to_degrees(double radians)
-{
-  return radians * c_RAD2DEGMULT;
+inline double radians_to_degrees( double radians ){
+       return radians * c_RAD2DEGMULT;
 }
-inline double degrees_to_radians(double degrees)
-{
-  return degrees * c_DEG2RADMULT;
+inline double degrees_to_radians( double degrees ){
+       return degrees * c_DEG2RADMULT;
 }
 
 #endif