diff --git a/vcg/complex/algorithms/parametrization/tangent_field_operators.h b/vcg/complex/algorithms/parametrization/tangent_field_operators.h index 2f035ea4..e1ad64fb 100644 --- a/vcg/complex/algorithms/parametrization/tangent_field_operators.h +++ b/vcg/complex/algorithms/parametrization/tangent_field_operators.h @@ -743,9 +743,6 @@ public: ///by the cross field (where Z=0) static vcg::Matrix33 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; diff --git a/vcg/complex/algorithms/update/texture.h b/vcg/complex/algorithms/update/texture.h index c454ddd1..c2ff6f92 100644 --- a/vcg/complex/algorithms/update/texture.h +++ b/vcg/complex/algorithms/update/texture.h @@ -97,21 +97,16 @@ static void WedgeTexFromPlane(ComputeMeshType &m, const Point3 &uVec } } -static void WedgeTexFromCamera(ComputeMeshType &m, Plane3 &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;iVN();++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; } } } diff --git a/vcg/space/outline2_packer.h b/vcg/space/outline2_packer.h index 5aa41692..823457e8 100644 --- a/vcg/space/outline2_packer.h +++ b/vcg/space/outline2_packer.h @@ -88,7 +88,7 @@ public: static bool PackAsEqualSquares(const std::vector< std::vector > &polyVec, const Point2i containerSizeX, std::vector &trVec, - Point2x &coveredContainer) + Point2x &/*coveredContainer*/) { int minSide = std::min(containerSizeX[0],containerSizeX[1]); const vcg::Point2i containerSize(minSide,minSide);