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
vcg/simplex/vertex

View File

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