From 47b31587badc3e30f33600d2891279e21a0ddd3d Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Wed, 23 Aug 2006 15:32:24 +0000 Subject: [PATCH] added bbox of the mesh vn int->size_t --- vcg/complex/vertexmesh/base.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/vcg/complex/vertexmesh/base.h b/vcg/complex/vertexmesh/base.h index 04e18472..f2f3e53e 100644 --- a/vcg/complex/vertexmesh/base.h +++ b/vcg/complex/vertexmesh/base.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.3 2005/09/20 13:58:55 pietroni +Modified MArk function parameter form ConstVertexPointer to VertexPointer + Revision 1.2 2005/08/02 11:37:29 pietroni renamed typedef VertexContainer into VertContainer (like trimesh) @@ -54,7 +57,6 @@ namespace vertex { /** \class VertexMesh. This is class for definition of a mesh. @param VertContainerType (Template Parameter) Specifies the type of the vertices container any the vertex type. - @param PointContainerType (Template Parameter) Specifies the type of the faces container any the face type. */ template < class VertContainerType > class VertexMesh{ @@ -69,17 +71,13 @@ class VertexMesh{ typedef const VertexType * ConstVertexPointer; typedef Box3 BoxType; - /// Set of vertices - VertContainerType vert; - /// Real number of vertices - int vn; - - /// Bounding box of the mesh - Box3 bbox; + VertContainerType vert; /// Set of vertices + size_t vn; /// Actual number of vertices + + Box3 bbox; /// Bounding box of the mesh - /// Global color private: - Color4b c; + Color4b c; /// Global color public: inline const Color4b & C() const