Fixed warnings
This commit is contained in:
@@ -78,7 +78,8 @@ static void ComputeNormal( GLUtesselator *tess, GLdouble norm[3] )
|
||||
GLUvertex *v, *v1, *v2;
|
||||
GLdouble c, tLen2, maxLen2;
|
||||
GLdouble maxVal[3], minVal[3], d1[3], d2[3], tNorm[3];
|
||||
GLUvertex *maxVert[3], *minVert[3];
|
||||
GLUvertex *maxVert[3]={0,0,0};
|
||||
GLUvertex *minVert[3]={0,0,0};
|
||||
GLUvertex *vHead = &tess->mesh->vHead;
|
||||
int i;
|
||||
|
||||
|
||||
@@ -37,8 +37,11 @@
|
||||
|
||||
// #include <GL/glu.h>
|
||||
#include <osg/GLU>
|
||||
|
||||
#define GLAPIENTRY GL_APIENTRY
|
||||
|
||||
|
||||
#ifndef GLAPIENTRY
|
||||
#define GLAPIENTRY GL_APIENTRY
|
||||
#endif
|
||||
|
||||
#include <setjmp.h>
|
||||
#include "mesh.h"
|
||||
|
||||
Reference in New Issue
Block a user