diff --git a/vcg/complex/algorithms/hole.h b/vcg/complex/algorithms/hole.h index 76416bb4..059599c4 100644 --- a/vcg/complex/algorithms/hole.h +++ b/vcg/complex/algorithms/hole.h @@ -80,12 +80,12 @@ public: const CoordType &cP(int i) const {return P(i);} const CoordType &P(int i) const { switch(i) { - case 0 : return e0.v->cP(); - case 1 : return e1.v->cP(); - case 2 : return e0.VFlip()->cP(); + case 0 : return e0.v->P(); + case 1 : return e1.v->P(); + case 2 : return e0.VFlip()->P(); default: assert(0); } - return e0.v->cP(); + return e0.v->P(); } ScalarType quality; diff --git a/vcg/complex/algorithms/update/curvature.h b/vcg/complex/algorithms/update/curvature.h index 98c5faee..e6f81420 100644 --- a/vcg/complex/algorithms/update/curvature.h +++ b/vcg/complex/algorithms/update/curvature.h @@ -181,7 +181,7 @@ public: // compute matrix Q^t M Q Matrix33 QtMQ = (Q.transpose() * M * Q); - CoordType bl = Q.GetColumn(0); +// CoordType bl = Q.GetColumn(0); CoordType T1 = Q.GetColumn(1); CoordType T2 = Q.GetColumn(2); diff --git a/wrap/gl/gl_geometry.h b/wrap/gl/gl_geometry.h index 6dbbbb7b..908dbdc5 100644 --- a/wrap/gl/gl_geometry.h +++ b/wrap/gl/gl_geometry.h @@ -67,7 +67,7 @@ static void fghCircleTable(double **sint,double **cost,const int n) /* * Draws a solid sphere */ -static void glutSolidSphere(GLdouble radius, GLint slices, GLint stacks) +inline void glutSolidSphere(GLdouble radius, GLint slices, GLint stacks) { int i,j; @@ -155,7 +155,7 @@ static void glutSolidSphere(GLdouble radius, GLint slices, GLint stacks) /* * Draws a wire sphere */ -static void glutWireSphere(GLdouble radius, GLint slices, GLint stacks) +inline void glutWireSphere(GLdouble radius, GLint slices, GLint stacks) { int i,j;