From 4b1be106712c80c0a3adb4a787bba76d1c6225d9 Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 16 Jan 2009 16:15:13 +0000 Subject: [PATCH] rewrote VertTmark to have a reasonable dummy behaviour (it is useless...) --- vcg/complex/trimesh/closest.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/vcg/complex/trimesh/closest.h b/vcg/complex/trimesh/closest.h index e90a5a0f..589de46a 100644 --- a/vcg/complex/trimesh/closest.h +++ b/vcg/complex/trimesh/closest.h @@ -158,8 +158,17 @@ namespace vcg { {}; template - class VertTmark:public Tmark - {}; + class VertTmark + { + public: + typedef typename MESH_TYPE::VertexType VertexType; + + VertTmark(){} + void UnMarkAll(){} + bool IsMarked(VertexType*) { return false; } + void Mark(VertexType*){} + void SetMesh(void *m=0) {} + }; //**CLOSEST FUNCTION DEFINITION**//