From 6051c1eeaa9e69d411db6dccbaa1fa226e7890e1 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 29 Oct 2009 17:16:41 +0000 Subject: [PATCH] added a missing IsVFAdjacencyEnabled and a missing typename --- vcg/simplex/vertex/component_ocf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vcg/simplex/vertex/component_ocf.h b/vcg/simplex/vertex/component_ocf.h index a8e87dd7..8364a552 100644 --- a/vcg/simplex/vertex/component_ocf.h +++ b/vcg/simplex/vertex/component_ocf.h @@ -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 TexCoordfOcf: public TexCoordOcf, T> template class MarkOcf: public T { public: + typedef int MarkType; inline int & IMark() { assert((*this).Base().MarkEnabled); return (*this).Base().MV[(*this).Index()];