remove signed/unsigned warning
This commit is contained in:
parent
ddc8bd5706
commit
1e6b800880
|
@ -240,7 +240,7 @@ template <class MESH> class BallPivoting: public AdvancingFront<MESH> {
|
|||
VertexType *candidate = NULL;
|
||||
ScalarType min_angle = M_PI;
|
||||
|
||||
for(int i = 0; i < targets.size(); i++) {
|
||||
for(int i = 0; i < static_cast<int>(targets.size()); i++) {
|
||||
VertexType *v = targets[i];
|
||||
int id = v - &*this->mesh.vert.begin();
|
||||
if(v->IsD()) continue;
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
History
|
||||
|
||||
$Log: not supported by cvs2svn $
|
||||
Revision 1.20 2007/03/12 15:37:19 tarini
|
||||
Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD.
|
||||
|
||||
Revision 1.19 2006/11/28 22:34:28 cignoni
|
||||
Added default constructor with null initialization to adjacency members.
|
||||
AddFaces and AddVertices NEED to know if the topology is correctly computed to update it.
|
||||
|
@ -174,7 +177,7 @@ public:
|
|||
void pop_back();
|
||||
void resize(const unsigned int & _size)
|
||||
{
|
||||
int oldsize = BaseType::size();
|
||||
unsigned int oldsize = BaseType::size();
|
||||
BaseType::resize(_size);
|
||||
if(oldsize<_size){
|
||||
ThisTypeIterator firstnew = BaseType::begin();
|
||||
|
|
Loading…
Reference in New Issue