From 3bd7cbe5ea7b04719af4d2415db6067e91634e8d Mon Sep 17 00:00:00 2001 From: ganovelli Date: Sat, 6 Nov 2010 16:38:15 +0000 Subject: [PATCH] added cQ() to QualityOcf --- vcg/simplex/vertex/component_ocf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/vcg/simplex/vertex/component_ocf.h b/vcg/simplex/vertex/component_ocf.h index bc7eefb6..bcae0eab 100644 --- a/vcg/simplex/vertex/component_ocf.h +++ b/vcg/simplex/vertex/component_ocf.h @@ -463,6 +463,7 @@ template class QualityOcf: public T { public: typedef A QualityType; QualityType &Q() { assert((*this).Base().QualityEnabled); return (*this).Base().QV[(*this).Index()]; } + const QualityType &cQ() const { assert((*this).Base().QualityEnabled); return (*this).Base().QV[(*this).Index()]; } template void ImportData(const LeftV & leftV) {