diff --git a/vcg/simplex/faceplus/component.h b/vcg/simplex/faceplus/component.h index ffd257a3..7f39de2e 100644 --- a/vcg/simplex/faceplus/component.h +++ b/vcg/simplex/faceplus/component.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.6 2005/11/22 15:49:39 cignoni +removed two spurious computenormal + Revision 1.5 2005/11/21 21:44:47 cignoni Moved ComputeNormal and ComputeNormalizedNormal out of the face class (no more a member function!) @@ -247,6 +250,7 @@ public: template class Color: public T { public: typedef A ColorType; + Color():_color(vcg::Color4b::White) {} ColorType &C() { return _color; } static bool HasFaceColor() { return true; } private: diff --git a/vcg/simplex/vertexplus/component.h b/vcg/simplex/vertexplus/component.h index 08c9efa2..d1174d8d 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.16 2005/11/22 23:58:03 cignoni +Added intiailization of flags to zero in the constructor, + Revision 1.15 2005/11/18 15:44:51 cignoni Access to constant normal changed from by val to by reference @@ -222,6 +225,7 @@ public: }; template class Color: public T { public: + Color():_color(vcg::Color4b::White) {} typedef A ColorType; ColorType &C() { return _color; } static bool HasColor() { return true; } @@ -229,7 +233,7 @@ private: ColorType _color; }; -template class Color4b: public Color {}; +template class Color4b: public vert::Color {}; /*-------------------------- Quality ----------------------------------*/