removed harmless warnings

This commit is contained in:
Paolo Cignoni 2012-12-02 14:57:08 +00:00
parent cccc066735
commit e04a37bf60
3 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -181,7 +181,7 @@ public:
// compute matrix Q^t M Q
Matrix33<ScalarType> 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);

View File

@ -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;