From a0cd1fc321318a651c8edb615f944dd1d93ddc30 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 5 Feb 2008 10:11:34 +0000 Subject: [PATCH] A small typo (a T:: instead of TT::) --- vcg/simplex/faceplus/component_ocf.h | 8 +++++++- vcg/simplex/vertexplus/component.h | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/vcg/simplex/faceplus/component_ocf.h b/vcg/simplex/faceplus/component_ocf.h index ef8d5a6c..3ba3deaf 100644 --- a/vcg/simplex/faceplus/component_ocf.h +++ b/vcg/simplex/faceplus/component_ocf.h @@ -24,6 +24,12 @@ History $Log: not supported by cvs2svn $ +Revision 1.22 2008/02/04 21:26:45 ganovelli +added ImportLocal which imports all local attributes into vertexplus and faceplus. +A local attribute is everything (N(), C(), Q()....) except pointers to other simplices +(i.e. FFAdj, VFAdj, VertexRef) which are set to NULL. +Added some function for const attributes + Revision 1.21 2007/10/09 12:03:13 corsini remove signed/unsigned warning @@ -457,7 +463,7 @@ public: TexCoordType &WT(const int i) { assert((*this).Base().WedgeTexEnabled); return (*this).Base().WTV[(*this).Index()].wt[i]; } TexCoordType const &cWT(const int i) const { assert((*this).Base().WedgeTexEnabled); return (*this).Base().WTV[(*this).Index()].wt[i]; } template - void ImportLocal(const LeftF & leftF){WT() = leftF.cWT(); T::ImportLocal(leftF);} + void ImportLocal(const LeftF & leftF){WT() = leftF.cWT(); TT::ImportLocal(leftF);} static bool HasWedgeTexCoord() { return true; } static bool HasWedgeTexCoordOcf() { return true; } }; diff --git a/vcg/simplex/vertexplus/component.h b/vcg/simplex/vertexplus/component.h index afa1b422..06787fbc 100644 --- a/vcg/simplex/vertexplus/component.h +++ b/vcg/simplex/vertexplus/component.h @@ -24,6 +24,12 @@ History $Log: not supported by cvs2svn $ +Revision 1.24 2008/02/04 21:26:49 ganovelli +added ImportLocal which imports all local attributes into vertexplus and faceplus. +A local attribute is everything (N(), C(), Q()....) except pointers to other simplices +(i.e. FFAdj, VFAdj, VertexRef) which are set to NULL. +Added some function for const attributes + Revision 1.23 2007/06/04 15:40:22 turini Add vertex-tetrahedron adjacency component VTAdj. @@ -240,7 +246,7 @@ public: TexCoordType &T() { return _t; } const TexCoordType &cT() const { return _t; } template < class LeftV> - void ImportLocal(const LeftV & left ) { T() = left.cT(); T::ImportLocal( left); } + void ImportLocal(const LeftV & left ) { T() = left.cT(); TT::ImportLocal( left); } static bool HasTexCoord() { return true; } static void Name(std::vector & name){name.push_back(std::string("TexCoord"));TT::Name(name);}