added a missing IsVFAdjacencyEnabled and a missing typename

This commit is contained in:
Paolo Cignoni 2009-10-29 17:16:41 +00:00
parent df6f5b98ec
commit 6051c1eeaa
1 changed files with 2 additions and 0 deletions

View File

@ -272,6 +272,7 @@ void DisableNormal() {
NV.clear(); NV.clear();
} }
bool IsVFAdjacencyEnabled() const {return VFAdjacencyEnabled;}
void EnableVFAdjacency() { void EnableVFAdjacency() {
assert(VALUE_TYPE::HasVFAdjacencyOcf()); assert(VALUE_TYPE::HasVFAdjacencyOcf());
VFAdjacencyEnabled=true; VFAdjacencyEnabled=true;
@ -502,6 +503,7 @@ template <class T> class TexCoordfOcf: public TexCoordOcf<TexCoord2<float,1>, T>
template <class T> class MarkOcf: public T { template <class T> class MarkOcf: public T {
public: public:
typedef int MarkType;
inline int & IMark() { inline int & IMark() {
assert((*this).Base().MarkEnabled); assert((*this).Base().MarkEnabled);
return (*this).Base().MV[(*this).Index()]; return (*this).Base().MV[(*this).Index()];