Freestyle: removed unnecessary #include files and made minor code cleanup.

This commit is contained in:
Tamito Kajiyama 2014-04-17 12:45:22 +09:00
parent 01a4a09f29
commit 3458bad12d
9 changed files with 8 additions and 15 deletions

View File

@ -25,8 +25,6 @@
* \date 2010-12-21
*/
#include <math.h>
#include "GridHelpers.h"
namespace Freestyle {

View File

@ -25,7 +25,6 @@
#ifndef __FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H__
#define __FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H__
#include "../../stroke/Stroke.h"
#include "../BPy_Iterator.h"
#include "../../view_map/ViewMapIterators.h"

View File

@ -38,8 +38,6 @@
#include "UnaryFunction0D_double/BPy_LocalAverageDepthF0D.h"
#include "UnaryFunction0D_double/BPy_ZDiscontinuityF0D.h"
#include "../Director.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -32,8 +32,7 @@
#include "Predicates1D.h"
#include "../system/Iterator.h" //soc
#include "../system/Iterator.h"
#include "../view_map/ViewMap.h"
#include "../view_map/ViewMapIterators.h"

View File

@ -27,8 +27,6 @@
#include "CulledOccluderSource.h"
#include "FRS_freestyle.h"
#include "../geometry/GridHelpers.h"
#include "BKE_global.h"

View File

@ -26,7 +26,7 @@
* \date 01/07/2003
*/
# include "Functions1D.h"
#include "Functions1D.h"
using namespace std;

View File

@ -34,7 +34,7 @@
#include "../geometry/Geom.h"
#include "../system/Id.h"
#include "../system/Iterator.h" //soc
#include "../system/Iterator.h"
#include "../system/Precision.h"
#include "../winged_edge/Nature.h"
@ -64,7 +64,9 @@ class Interface0D
public:
/*! Default constructor */
Interface0D() {}
virtual ~Interface0D() {}; //soc
/*! Destructor */
virtual ~Interface0D() {};
/*! Returns the string "Interface0D". */
virtual string getExactTypeName() const

View File

@ -136,7 +136,8 @@ public:
_timeStamp = 0;
}
virtual ~Interface1D() {}; //soc
/*! Destructor */
virtual ~Interface1D() {};
/*! Returns the string "Interface1D". */
virtual string getExactTypeName() const

View File

@ -25,8 +25,6 @@
* \date 01/07/2003
*/
//soc #include <qimage.h>
//soc #include <qstring.h>
#include <sstream>
#include "Silhouette.h"