removed harmless warnings
This commit is contained in:
parent
cccc066735
commit
e04a37bf60
|
@ -80,12 +80,12 @@ public:
|
||||||
const CoordType &cP(int i) const {return P(i);}
|
const CoordType &cP(int i) const {return P(i);}
|
||||||
const CoordType &P(int i) const {
|
const CoordType &P(int i) const {
|
||||||
switch(i) {
|
switch(i) {
|
||||||
case 0 : return e0.v->cP();
|
case 0 : return e0.v->P();
|
||||||
case 1 : return e1.v->cP();
|
case 1 : return e1.v->P();
|
||||||
case 2 : return e0.VFlip()->cP();
|
case 2 : return e0.VFlip()->P();
|
||||||
default: assert(0);
|
default: assert(0);
|
||||||
}
|
}
|
||||||
return e0.v->cP();
|
return e0.v->P();
|
||||||
}
|
}
|
||||||
|
|
||||||
ScalarType quality;
|
ScalarType quality;
|
||||||
|
|
|
@ -181,7 +181,7 @@ public:
|
||||||
// compute matrix Q^t M Q
|
// compute matrix Q^t M Q
|
||||||
Matrix33<ScalarType> QtMQ = (Q.transpose() * 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 T1 = Q.GetColumn(1);
|
||||||
CoordType T2 = Q.GetColumn(2);
|
CoordType T2 = Q.GetColumn(2);
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ static void fghCircleTable(double **sint,double **cost,const int n)
|
||||||
/*
|
/*
|
||||||
* Draws a solid sphere
|
* 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;
|
int i,j;
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ static void glutSolidSphere(GLdouble radius, GLint slices, GLint stacks)
|
||||||
/*
|
/*
|
||||||
* Draws a wire sphere
|
* 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;
|
int i,j;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue