From 15b1b778d4a260650f3830fdceff028420ce6543 Mon Sep 17 00:00:00 2001 From: Luigi Malomo Date: Thu, 22 Apr 2021 20:49:12 +0200 Subject: [PATCH] added missing function for polygon face components --- vcg/simplex/face/component_polygon.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vcg/simplex/face/component_polygon.h b/vcg/simplex/face/component_polygon.h index 1fda9d1b..1265b13b 100644 --- a/vcg/simplex/face/component_polygon.h +++ b/vcg/simplex/face/component_polygon.h @@ -143,8 +143,9 @@ public: typename T::FacePointer &VFp(const int j) { assert(j>=0 && jVN()); return _vfpP[j]; } typename T::FacePointer const VFp(const int j) const { assert(j>=0 && jVN()); return _vfpP[j]; } typename T::FacePointer const cVFp(const int j) const { assert(j>=0 && jVN()); return _vfpP[j]; } - char &VFi(const int j) {return _vfiP[j]; } - char VFi(const int j) const {return _vfiP[j]; } + char & VFi(const int j) { return _vfiP[j]; } + char VFi(const int j) const { return _vfiP[j]; } + char cVFi(const int j) const { return _vfiP[j]; } template void ImportData(const LeftF & leftF){T::ImportData(leftF);} inline void Alloc(const int & ns) {