Corrected harmless Warnings

This commit is contained in:
Paolo Cignoni 2017-03-02 10:10:18 +01:00
parent 73a89349da
commit 4046f82f75
3 changed files with 4 additions and 12 deletions

View File

@ -743,9 +743,6 @@ public:
///by the cross field (where Z=0)
static vcg::Matrix33<ScalarType> TransformationMatrix(const FaceType &f)
{
typedef typename FaceType::CoordType CoordType;
typedef typename FaceType::ScalarType ScalarType;
///transform to 3d
CoordType axis0=f.cPD1();
CoordType axis1=f.cPD2();//axis0^f.cN();
@ -1138,7 +1135,7 @@ public:
///return the difference of two cross field, values between [0,1]
static typename FaceType::ScalarType DifferenceLineField(const typename FaceType::CoordType &t0,
const typename FaceType::CoordType &t1,
const typename FaceType::CoordType &n)
const typename FaceType::CoordType &/*n*/)
{
CoordType trans0=t0;
CoordType trans1=t1;

View File

@ -97,21 +97,16 @@ static void WedgeTexFromPlane(ComputeMeshType &m, const Point3<ScalarType> &uVec
}
}
static void WedgeTexFromCamera(ComputeMeshType &m, Plane3<ScalarType> &pl)
{
}
static void WedgeTexFromVertexTex(ComputeMeshType &m)
{
for(FaceIterator fi=m.face.begin();fi!=m.face.end();++fi)
if(!(*fi).IsD())
{
for(int i=0;i<3;++i)
for(int i=0;i<fi->VN();++i)
{
(*fi).WT(i).U() = (*fi).V(i)->T().U();
(*fi).WT(i).V() = (*fi).V(i)->T().V();
(*fi).WT(i).N() = 0;
(*fi).WT(i).N() = 0;
}
}
}

View File

@ -88,7 +88,7 @@ public:
static bool PackAsEqualSquares(const std::vector< std::vector<Point2x> > &polyVec,
const Point2i containerSizeX,
std::vector<Similarity2x> &trVec,
Point2x &coveredContainer)
Point2x &/*coveredContainer*/)
{
int minSide = std::min(containerSizeX[0],containerSizeX[1]);
const vcg::Point2i containerSize(minSide,minSide);