From 038cf7712b615dcb85b274e2b6a5f5e00798a5c7 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Thu, 20 May 2004 13:04:23 +0000 Subject: [PATCH] modified setBorderV function --- vcg/simplex/tetrahedron/base.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/vcg/simplex/tetrahedron/base.h b/vcg/simplex/tetrahedron/base.h index 6071c05b..bafbda41 100644 --- a/vcg/simplex/tetrahedron/base.h +++ b/vcg/simplex/tetrahedron/base.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.7 2004/05/14 11:48:43 pietroni +templated with also tetratype... + Revision 1.6 2004/05/14 11:07:36 turini Changed swap in std::swap. @@ -279,14 +282,14 @@ public: void setBorderV() { int i; - for (i=0;i<4;i++) + for (i=0;i<4;i++) if (T(i)==this) { - FV(i,0)->SetB(); - FV(i,1)->SetB(); - FV(i,2)->SetB(); - } - } + V(Tetra::VofF(i,0))->SetB(); + V(Tetra::VofF(i,1))->SetB(); + V(Tetra::VofF(i,2))->SetB(); + } + } #endif //@}