summaryrefslogtreecommitdiff
path: root/src/glu
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-30 15:20:37 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-30 15:20:37 +0000
commit1a8d64e6e9c6f59eb40c5a73690f3ef9d5c2b327 (patch)
treec7a7e287a1534705dcd711ae2c8961119098747f /src/glu
parent5329d0ca7ab830e8bf71ebe63988e098aa70cffd (diff)
change global_grid_u0/u1 to REAL (Eric Cazeaux)
Diffstat (limited to 'src/glu')
-rw-r--r--src/glu/sgi/libnurbs/interface/glcurveval.cc8
-rw-r--r--src/glu/sgi/libnurbs/interface/glcurveval.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/glu/sgi/libnurbs/interface/glcurveval.cc b/src/glu/sgi/libnurbs/interface/glcurveval.cc
index e1ef2273b3..8c86508420 100644
--- a/src/glu/sgi/libnurbs/interface/glcurveval.cc
+++ b/src/glu/sgi/libnurbs/interface/glcurveval.cc
@@ -35,8 +35,8 @@
/*
* glcurveval.c++
*
- * $Date: 2002/11/01 23:45:30 $ $Revision: 1.4 $
- * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glcurveval.cc,v 1.4 2002/11/01 23:45:30 brianp Exp $
+ * $Date: 2003/04/30 15:20:37 $ $Revision: 1.5 $
+ * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glcurveval.cc,v 1.5 2003/04/30 15:20:37 brianp Exp $
*/
/* Polynomial Evaluator Interface */
@@ -149,8 +149,8 @@ OpenGLCurveEvaluator::mapgrid1f(long nu, REAL u0, REAL u1)
{
if(output_triangles)
{
- global_grid_u0 = (int) u0;
- global_grid_u1 = (int) u1;
+ global_grid_u0 = u0;
+ global_grid_u1 = u1;
global_grid_nu = (int) nu;
}
else
diff --git a/src/glu/sgi/libnurbs/interface/glcurveval.h b/src/glu/sgi/libnurbs/interface/glcurveval.h
index 861118b4b6..445dd36827 100644
--- a/src/glu/sgi/libnurbs/interface/glcurveval.h
+++ b/src/glu/sgi/libnurbs/interface/glcurveval.h
@@ -35,8 +35,8 @@
/*
* glcurveval.h
*
- * $Date: 2001/08/07 17:34:11 $ $Revision: 1.4 $
- * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glcurveval.h,v 1.4 2001/08/07 17:34:11 brianp Exp $
+ * $Date: 2003/04/30 15:20:37 $ $Revision: 1.5 $
+ * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glcurveval.h,v 1.5 2003/04/30 15:20:37 brianp Exp $
*/
#ifndef __gluglcurveval_h_
@@ -114,8 +114,8 @@ int normal_flag; //whether there is a normal map or not
int color_flag; //whether there is a color map or not
int texcoord_flag; //whether there is a texture map or not
-int global_grid_u0;
-int global_grid_u1;
+REAL global_grid_u0;
+REAL global_grid_u1;
int global_grid_nu;
void inMap1f(int which, //0: vert, 1: norm, 2: color, 3: tex