Fixed a size_t uint conversion

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@558 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-03-20 09:08:20 +00:00
parent b240c21f7c
commit 118202c476
4 changed files with 4 additions and 4 deletions

View File

@@ -111,7 +111,7 @@ void PolyConnectivity::adjust_outgoing_halfedge(VertexHandle _vh)
//-----------------------------------------------------------------------------
PolyConnectivity::FaceHandle
PolyConnectivity::add_face(const VertexHandle* _vertex_handles, uint _vhs_size)
PolyConnectivity::add_face(const VertexHandle* _vertex_handles, size_t _vhs_size)
{
VertexHandle vh;
uint i, ii, n(_vhs_size), id;

View File

@@ -230,7 +230,7 @@ public:
* @param _vhandles pointer to a sorted list of vertex handles (also defines order in which the vertices are added to the face)
* @param _vhs_size number of vertex handles in the array
*/
FaceHandle add_face(const VertexHandle* _vhandles, uint _vhs_size);
FaceHandle add_face(const VertexHandle* _vhandles, size_t _vhs_size);
//@}
/// \name Deleting mesh items and other connectivity/topology modifications

View File

@@ -49,7 +49,7 @@ namespace OpenMesh
{
TriConnectivity::FaceHandle
TriConnectivity::add_face(const VertexHandle* _vertex_handles, uint _vhs_size)
TriConnectivity::add_face(const VertexHandle* _vertex_handles, size_t _vhs_size)
{
// need at least 3 vertices
if (_vhs_size < 3) return InvalidFaceHandle;

View File

@@ -79,7 +79,7 @@ public:
FaceHandle add_face(const std::vector<VertexHandle>& _vhandles)
{ return add_face(&_vhandles.front(), _vhandles.size()); }
FaceHandle add_face(const VertexHandle* _vhandles, uint _vhs_size);
FaceHandle add_face(const VertexHandle* _vhandles, size_t _vhs_size);
FaceHandle add_face(VertexHandle _vh0, VertexHandle _vh1, VertexHandle _vh2)
{