From 828dc5f404a383ceeded8ea07cf5a6a66a59d519 Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 14 Nov 2014 22:03:58 +0000 Subject: [PATCH] Added a resize() method to the basic attribute handle class to allow the definition of templated functions that can indifferently take an attribute or a vector as a parameter (like the ones in MeshToMatrix) --- vcg/complex/base.h | 1 + 1 file changed, 1 insertion(+) diff --git a/vcg/complex/base.h b/vcg/complex/base.h index 814a9c60..e39de040 100644 --- a/vcg/complex/base.h +++ b/vcg/complex/base.h @@ -255,6 +255,7 @@ class TriMesh // access function template ATTR_TYPE & operator [](const RefType & i){return (*_handle)[i];} + void resize(size_t size) { }; }; template