mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-28 10:41:09 +00:00
Merge pull request #577 from barfowl/far_includes
Removed unnecessary files include by public headers in Far
This commit is contained in:
commit
f05281efab
@ -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>
|
||||
|
@ -29,8 +29,6 @@
|
||||
|
||||
#include "../far/types.h"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace OpenSubdiv {
|
||||
namespace OPENSUBDIV_VERSION {
|
||||
|
||||
|
@ -34,10 +34,7 @@
|
||||
#include "../sdc/options.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cassert>
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace OpenSubdiv {
|
||||
namespace OPENSUBDIV_VERSION {
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -31,10 +31,6 @@
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
namespace OpenSubdiv {
|
||||
namespace OPENSUBDIV_VERSION {
|
||||
|
||||
|
@ -29,6 +29,8 @@
|
||||
#include <far/primvarRefiner.h>
|
||||
#include <far/types.h>
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#include "shape_utils.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
@ -41,10 +41,11 @@
|
||||
// rebuilding them redundantly.
|
||||
//
|
||||
|
||||
|
||||
#include <opensubdiv/far/topologyRefinerFactory.h>
|
||||
#include <opensubdiv/far/primvarRefiner.h>
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using namespace OpenSubdiv;
|
||||
|
Loading…
Reference in New Issue
Block a user