[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26406] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/system/FreestyleConfig.h: Replaced "math.h" by " BLI_math.h" to suppress a warning with regard
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Sat Jan 30 00:55:32 CET 2010
Revision: 26406
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26406
Author: kjym3
Date: 2010-01-30 00:55:32 +0100 (Sat, 30 Jan 2010)
Log Message:
-----------
Replaced "math.h" by "BLI_math.h" to suppress a warning with regard
to redefinition of M_PI.
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/system/FreestyleConfig.h
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/system/FreestyleConfig.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/system/FreestyleConfig.h 2010-01-29 22:13:39 UTC (rev 26405)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/system/FreestyleConfig.h 2010-01-29 23:55:32 UTC (rev 26406)
@@ -32,17 +32,12 @@
# define CONFIG_H
# include <string>
-# include <math.h>
+# include "BLI_math.h"
using namespace std;
namespace Config {
- // Pi definition
-# ifndef M_PI
-# define M_PI 3.14159265
-# endif // M_PI
-
// Directory separators
# ifdef WIN32
static const string DIR_SEP("\\");
More information about the Bf-blender-cvs
mailing list