mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-04 00:41:05 +00:00
Merge pull request #545 from barfowl/far_types
Added more public constants to <far/types.h>
This commit is contained in:
commit
cff7147afb
@ -35,7 +35,8 @@ namespace OPENSUBDIV_VERSION {
|
|||||||
namespace Far {
|
namespace Far {
|
||||||
|
|
||||||
//
|
//
|
||||||
// Typedef's for indices we want at the Far level -- need to go elsewhere eventually...
|
// Typedef's for indices that are inherited from the Vtr level -- eventually
|
||||||
|
// these primitive Vtr types may be declared at a lower, more public level.
|
||||||
//
|
//
|
||||||
typedef Vtr::Index Index;
|
typedef Vtr::Index Index;
|
||||||
typedef Vtr::LocalIndex LocalIndex;
|
typedef Vtr::LocalIndex LocalIndex;
|
||||||
@ -46,6 +47,11 @@ typedef Vtr::LocalIndexArray LocalIndexArray;
|
|||||||
typedef Vtr::ConstIndexArray ConstIndexArray;
|
typedef Vtr::ConstIndexArray ConstIndexArray;
|
||||||
typedef Vtr::ConstLocalIndexArray ConstLocalIndexArray;
|
typedef Vtr::ConstLocalIndexArray ConstLocalIndexArray;
|
||||||
|
|
||||||
|
inline bool IndexIsValid(Index index) { return Vtr::IndexIsValid(index); }
|
||||||
|
|
||||||
|
static const Index INDEX_INVALID = Vtr::INDEX_INVALID;
|
||||||
|
static const int VALENCE_LIMIT = Vtr::VALENCE_LIMIT;
|
||||||
|
|
||||||
} // end namespace Far
|
} // end namespace Far
|
||||||
|
|
||||||
} // end namespace OPENSUBDIV_VERSION
|
} // end namespace OPENSUBDIV_VERSION
|
||||||
|
Loading…
Reference in New Issue
Block a user