Removed unnecessary files include by public headers in Far

This commit is contained in:
barfowl 2015-06-01 00:14:19 -07:00
parent d7994b8f46
commit e52dd83b14
10 changed files with 14 additions and 23 deletions

View File

@ -27,6 +27,8 @@
#include <far/ptexIndices.h>
#include <far/patchMap.h>
#include <cmath>
#ifdef OPENSUBDIV_HAS_TBB
#include <tbb/parallel_for.h>
#include <tbb/atomic.h>

View File

@ -29,8 +29,6 @@
#include "../far/types.h"
#include <cassert>
namespace OpenSubdiv {
namespace OPENSUBDIV_VERSION {

View File

@ -34,10 +34,7 @@
#include "../sdc/options.h"
#include <cstdlib>
#include <cassert>
#include <algorithm>
#include <vector>
#include <map>
namespace OpenSubdiv {
namespace OPENSUBDIV_VERSION {

View File

@ -26,6 +26,7 @@
#include "../far/ptexIndices.h"
#include "../far/topologyRefiner.h"
#include "../vtr/level.h"
#include "../vtr/fvarLevel.h"
#include "../vtr/refinement.h"
#include "../far/endCapBSplineBasisPatchFactory.h"
#include "../far/endCapGregoryBasisPatchFactory.h"

View File

@ -23,6 +23,7 @@
//
#include "../far/topologyRefiner.h"
#include "../far/error.h"
#include "../vtr/fvarLevel.h"
#include "../vtr/sparseSelector.h"
#include "../vtr/quadRefinement.h"
#include "../vtr/triRefinement.h"

View File

@ -28,24 +28,11 @@
#include "../sdc/types.h"
#include "../sdc/options.h"
#include "../vtr/level.h"
#include "../vtr/refinement.h"
#include "../far/types.h"
#include "../far/error.h"
#include "../far/topologyLevel.h"
#include <vector>
#include <cassert>
#include <cstdio>
// No longer necessary -- remove once we verify nothing implicitly relies on them:
#include "../sdc/bilinearScheme.h"
#include "../sdc/catmarkScheme.h"
#include "../sdc/loopScheme.h"
#include "../vtr/fvarLevel.h"
#include "../vtr/fvarRefinement.h"
#include "../vtr/stackBuffer.h"
#include "../vtr/componentInterfaces.h"
namespace OpenSubdiv {
namespace OPENSUBDIV_VERSION {

View File

@ -25,6 +25,12 @@
#include "../far/topologyRefiner.h"
#include "../vtr/level.h"
#include <cstdio>
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
namespace OpenSubdiv {
namespace OPENSUBDIV_VERSION {

View File

@ -31,10 +31,6 @@
#include <cassert>
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
namespace OpenSubdiv {
namespace OPENSUBDIV_VERSION {

View File

@ -29,6 +29,8 @@
#include <far/primvarRefiner.h>
#include <far/types.h>
#include <cstdio>
#include "shape_utils.h"
//------------------------------------------------------------------------------

View File

@ -41,10 +41,11 @@
// rebuilding them redundantly.
//
#include <opensubdiv/far/topologyRefinerFactory.h>
#include <opensubdiv/far/primvarRefiner.h>
#include <cstdio>
//------------------------------------------------------------------------------
using namespace OpenSubdiv;