From 88753fa7bc87519647e3a6a95f838f836286d335 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 22 Nov 2005 23:58:03 +0000 Subject: [PATCH] Added intiailization of flags to zero in the constructor, --- vcg/simplex/vertexplus/component.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vcg/simplex/vertexplus/component.h b/vcg/simplex/vertexplus/component.h index 1dd6444b..08c9efa2 100644 --- a/vcg/simplex/vertexplus/component.h +++ b/vcg/simplex/vertexplus/component.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.15 2005/11/18 15:44:51 cignoni +Access to constant normal changed from by val to by reference + Revision 1.14 2005/11/16 23:02:37 cignoni Added some missing members to EmptyMark Standardized name of flags. It is plural becouse each simplex has many flag. @@ -199,7 +202,8 @@ public: template class BitFlags: public T { public: - typedef int FlagType; + BitFlags(){_flags=0;} + typedef int FlagType; int &Flags() {return _flags; } const int Flags() const {return _flags; } static bool HasFlags() { return true; }