Corrected harmless Warnings
This commit is contained in:
parent
73a89349da
commit
4046f82f75
|
@ -743,9 +743,6 @@ public:
|
||||||
///by the cross field (where Z=0)
|
///by the cross field (where Z=0)
|
||||||
static vcg::Matrix33<ScalarType> TransformationMatrix(const FaceType &f)
|
static vcg::Matrix33<ScalarType> TransformationMatrix(const FaceType &f)
|
||||||
{
|
{
|
||||||
typedef typename FaceType::CoordType CoordType;
|
|
||||||
typedef typename FaceType::ScalarType ScalarType;
|
|
||||||
|
|
||||||
///transform to 3d
|
///transform to 3d
|
||||||
CoordType axis0=f.cPD1();
|
CoordType axis0=f.cPD1();
|
||||||
CoordType axis1=f.cPD2();//axis0^f.cN();
|
CoordType axis1=f.cPD2();//axis0^f.cN();
|
||||||
|
@ -1138,7 +1135,7 @@ public:
|
||||||
///return the difference of two cross field, values between [0,1]
|
///return the difference of two cross field, values between [0,1]
|
||||||
static typename FaceType::ScalarType DifferenceLineField(const typename FaceType::CoordType &t0,
|
static typename FaceType::ScalarType DifferenceLineField(const typename FaceType::CoordType &t0,
|
||||||
const typename FaceType::CoordType &t1,
|
const typename FaceType::CoordType &t1,
|
||||||
const typename FaceType::CoordType &n)
|
const typename FaceType::CoordType &/*n*/)
|
||||||
{
|
{
|
||||||
CoordType trans0=t0;
|
CoordType trans0=t0;
|
||||||
CoordType trans1=t1;
|
CoordType trans1=t1;
|
||||||
|
|
|
@ -97,17 +97,12 @@ static void WedgeTexFromPlane(ComputeMeshType &m, const Point3<ScalarType> &uVec
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void WedgeTexFromCamera(ComputeMeshType &m, Plane3<ScalarType> &pl)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
static void WedgeTexFromVertexTex(ComputeMeshType &m)
|
static void WedgeTexFromVertexTex(ComputeMeshType &m)
|
||||||
{
|
{
|
||||||
for(FaceIterator fi=m.face.begin();fi!=m.face.end();++fi)
|
for(FaceIterator fi=m.face.begin();fi!=m.face.end();++fi)
|
||||||
if(!(*fi).IsD())
|
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).U() = (*fi).V(i)->T().U();
|
||||||
(*fi).WT(i).V() = (*fi).V(i)->T().V();
|
(*fi).WT(i).V() = (*fi).V(i)->T().V();
|
||||||
|
|
|
@ -88,7 +88,7 @@ public:
|
||||||
static bool PackAsEqualSquares(const std::vector< std::vector<Point2x> > &polyVec,
|
static bool PackAsEqualSquares(const std::vector< std::vector<Point2x> > &polyVec,
|
||||||
const Point2i containerSizeX,
|
const Point2i containerSizeX,
|
||||||
std::vector<Similarity2x> &trVec,
|
std::vector<Similarity2x> &trVec,
|
||||||
Point2x &coveredContainer)
|
Point2x &/*coveredContainer*/)
|
||||||
{
|
{
|
||||||
int minSide = std::min(containerSizeX[0],containerSizeX[1]);
|
int minSide = std::min(containerSizeX[0],containerSizeX[1]);
|
||||||
const vcg::Point2i containerSize(minSide,minSide);
|
const vcg::Point2i containerSize(minSide,minSide);
|
||||||
|
|
Loading…
Reference in New Issue