diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-04-30 15:20:07 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-04-30 15:20:07 +0000 |
commit | 2c981f243b0b141570782cdecd6822640b65c97d (patch) | |
tree | ba5957378aa3b7244c943bdd39eed33555692d5d | |
parent | 6b69d5f24d607121a503ab1781357d3e0aade677 (diff) |
change global_grid_u0/u1 to REAL (Eric Cazeaux)
-rw-r--r-- | src/glu/sgi/libnurbs/interface/glcurveval.cc | 8 | ||||
-rw-r--r-- | src/glu/sgi/libnurbs/interface/glcurveval.h | 8 |
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..92efcbdedc 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:07 $ $Revision: 1.4.2.1 $ + * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glcurveval.cc,v 1.4.2.1 2003/04/30 15:20:07 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..62ec1decbe 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:08 $ $Revision: 1.4.6.1 $ + * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/interface/glcurveval.h,v 1.4.6.1 2003/04/30 15:20:08 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 |