Removed harmless warnings
This commit is contained in:
parent
a3eee3aa3c
commit
70d3ccfa23
|
@ -77,7 +77,7 @@ void CreaseCut(MESH_TYPE &m, float angleRad)
|
|||
int creaseCounter=0;
|
||||
int startVn=m.vn;
|
||||
FaceIterator fi;
|
||||
const FaceType * nextf;
|
||||
//const FaceType * nextf;
|
||||
for(fi=m.face.begin();fi!=m.face.end();++fi)
|
||||
for(int j=0;j<3;++j)
|
||||
if(!(*fi).V(j)->IsV() ) // foreach unvisited vertex we loop around it searching for creases.
|
||||
|
@ -131,7 +131,7 @@ void CreaseCut(MESH_TYPE &m, float angleRad)
|
|||
int curVertexInd = indVec[faceInd*3+ j];
|
||||
assert(curVertexInd != -1);
|
||||
assert(curVertexInd < m.vn);
|
||||
if(curVertexInd < startVn) assert(curVertexInd == vertInd);
|
||||
if(curVertexInd < startVn) assert(size_t(curVertexInd) == vertInd);
|
||||
if(curVertexInd >= startVn)
|
||||
{
|
||||
m.vert[curVertexInd].ImportLocal(*((*fi).V(j)));
|
||||
|
|
|
@ -425,7 +425,7 @@ ScalarType Histogram<ScalarType>::Percentile(ScalarType frac) const
|
|||
assert(frac >= 0 && frac <= 1);
|
||||
|
||||
ScalarType sum=0,partsum=0;
|
||||
int i;
|
||||
size_t i;
|
||||
|
||||
// useless summation just to be sure
|
||||
for(i=0;i<H.size();i++) sum+=H[i];
|
||||
|
|
|
@ -47,7 +47,7 @@ static vcg::Trackball::Button QT2VCG (Qt::MouseButton qtbt, Qt::KeyboardModifier
|
|||
}
|
||||
|
||||
/// Takes a QT ket and QT KeyboardModifiers and returns the mouse wheel related Trackball::Button
|
||||
static vcg::Trackball::Button QTWheel2VCG (Qt::KeyboardModifiers modifiers)
|
||||
inline vcg::Trackball::Button QTWheel2VCG (Qt::KeyboardModifiers modifiers)
|
||||
{
|
||||
int vcgbt = vcg::Trackball::WHEEL;
|
||||
|
||||
|
@ -59,7 +59,7 @@ static vcg::Trackball::Button QTWheel2VCG (Qt::KeyboardModifiers modifiers)
|
|||
}
|
||||
|
||||
/// Takes some QT KeyboardModifiers and returns the mouse wheel related Trackball::Button
|
||||
static vcg::Trackball::Button QTKey2VCG (int key, Qt::KeyboardModifiers modifiers)
|
||||
inline vcg::Trackball::Button QTKey2VCG (int key, Qt::KeyboardModifiers modifiers)
|
||||
{
|
||||
int vcgbt = 0;
|
||||
switch (key) {
|
||||
|
|
Loading…
Reference in New Issue